/* Shinux · sito web
   Indice: 1 font e colori · 2 base · 3 sfondo aurora · 4 struttura · 5 vetro e componenti
           6 demo del desktop · 7 sezioni · 8 pagine · 9 movimento */

/* ============================================================ 1. Font e colori */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var-latin-ext.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

:root {
  /* Marchio «Aurora», dall'icona dell'app */
  --pink: #ec4899;
  --violet: #8b5cf6;
  --cyan: #06b6d4;
  --ink: #7c3aed;
  --aurora-base: #120f2e;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", "JetBrains Mono", Menlo, Consolas, monospace;

  --bg: #f4f1ff;
  --text: #14112b;
  --muted: #4d4968;
  --link: #6d28d9;
  --accent: #7c3aed;
  --focus: #7c3aed;
  --border: rgba(70, 50, 160, 0.14);
  --border-strong: rgba(70, 50, 160, 0.24);

  /* vetro */
  --glass: rgba(255, 255, 255, 0.56);
  --glass-strong: rgba(255, 255, 255, 0.78);
  --glass-hover: rgba(255, 255, 255, 0.7);
  --glass-rim: rgba(255, 255, 255, 0.9);
  --glass-edge: rgba(255, 255, 255, 0.65);
  --glass-line: rgba(80, 60, 170, 0.12);
  --glass-shadow: 0 1px 2px rgba(30, 20, 80, 0.05), 0 12px 36px rgba(60, 30, 140, 0.12);
  --glass-shadow-lg: 0 40px 100px rgba(60, 30, 140, 0.25), 0 8px 24px rgba(30, 20, 80, 0.12);
  --spec: rgba(255, 255, 255, 0.75);

  --blob-pink: rgba(236, 72, 153, 0.32);
  --blob-violet: rgba(139, 92, 246, 0.34);
  --blob-cyan: rgba(6, 182, 212, 0.28);

  --btn-grad: linear-gradient(120deg, #be185d 0%, #6d28d9 52%, #0e7490 100%);
  --text-grad: linear-gradient(100deg, #db2777 0%, #7c3aed 35%, #0891b2 65%, #db2777 100%);
  --ring-grad: conic-gradient(from var(--angle), #ec4899, #8b5cf6, #06b6d4, #8b5cf6, #ec4899);

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --gutter: 20px;
  --maxw: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #08071a;
    --text: #f4f2ff;
    --muted: #b8b4d6;
    --link: #c4b5fd;
    --accent: #a78bfa;
    --focus: #c4b5fd;
    --border: rgba(255, 255, 255, 0.1);
    --border-strong: rgba(255, 255, 255, 0.2);
    --glass: rgba(26, 23, 58, 0.48);
    --glass-strong: rgba(28, 25, 62, 0.74);
    --glass-hover: rgba(40, 36, 80, 0.6);
    --glass-rim: rgba(255, 255, 255, 0.2);
    --glass-edge: rgba(255, 255, 255, 0.12);
    --glass-line: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 14px 40px rgba(0, 0, 0, 0.35);
    --glass-shadow-lg: 0 40px 110px rgba(0, 0, 0, 0.6), 0 8px 24px rgba(0, 0, 0, 0.4);
    --spec: rgba(255, 255, 255, 0.16);
    --blob-pink: rgba(236, 72, 153, 0.36);
    --blob-violet: rgba(123, 77, 255, 0.42);
    --blob-cyan: rgba(6, 182, 212, 0.3);
    --text-grad: linear-gradient(100deg, #f472b6 0%, #a78bfa 35%, #22d3ee 65%, #f472b6 100%);
  }
}

/* ============================================================ 2. Base */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 100px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1.0625rem/1.65 var(--font);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.5em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 1.4rem + 4.2vw, 4.6rem); letter-spacing: -0.04em; font-weight: 800; }
h2 { font-size: clamp(1.85rem, 1.3rem + 2.2vw, 3.1rem); letter-spacing: -0.035em; font-weight: 750; }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
h2.h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
code, kbd { font-family: var(--mono); font-size: 0.88em; }
code { background: var(--glass); border: 1px solid var(--border); padding: 0.08em 0.38em; border-radius: 6px; overflow-wrap: anywhere; }
kbd { border: 1px solid var(--border-strong); border-bottom-width: 2px; border-radius: 6px; padding: 0.05em 0.4em; background: var(--glass-strong); }
ul, ol { padding-left: 1.25em; margin: 0 0 1em; }
li + li { margin-top: 0.35em; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
main:focus { outline: none; }
::selection { background: rgba(139, 92, 246, 0.35); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px;
  background: var(--glass-strong); color: var(--text); box-shadow: var(--glass-shadow); font-weight: 600;
}
.skip:focus { top: 12px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ============================================================ 3. Sfondo aurora (dietro tutto il sito) */

.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--bg); }
.blob { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; will-change: transform; }
.b1 { left: -25vmax; top: -30vmax; background: radial-gradient(closest-side, var(--blob-violet), transparent); animation: drift1 26s ease-in-out infinite alternate; }
.b2 { right: -30vmax; top: -10vmax; background: radial-gradient(closest-side, var(--blob-cyan), transparent); animation: drift2 32s ease-in-out infinite alternate; }
.b3 { left: 10vmax; bottom: -40vmax; background: radial-gradient(closest-side, var(--blob-pink), transparent); animation: drift3 28s ease-in-out infinite alternate; }
.b4 { right: -10vmax; bottom: -30vmax; width: 50vmax; height: 50vmax; background: radial-gradient(closest-side, var(--blob-violet), transparent); animation: drift1 36s ease-in-out infinite alternate-reverse; }
.grain {
  position: absolute; inset: 0; opacity: 0.35; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}
@keyframes drift1 { to { transform: translate(18vmax, 14vmax) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-16vmax, 20vmax) scale(0.9); } }
@keyframes drift3 { to { transform: translate(20vmax, -18vmax) scale(1.1); } }

/* ============================================================ 4. Struttura */

.container { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(800px + 2 * var(--gutter)); }
.section { padding: clamp(64px, 5vw + 36px, 128px) 0; position: relative; }
.section--alt { background: linear-gradient(180deg, transparent, var(--glass-line) 20%, var(--glass-line) 80%, transparent); }
.section-head { max-width: 780px; margin: 0 0 clamp(32px, 4vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.15rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5em; margin: 0 0 1rem; padding: 6px 14px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent);
  background: var(--glass); border: 1px solid var(--glass-edge); box-shadow: inset 0 1px 0 var(--glass-rim);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.grad-text {
  background: var(--text-grad); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 8s linear infinite;
}
@keyframes shimmer { to { background-position: -200% center; } }
.lead { font-size: clamp(1.1rem, 1rem + 0.45vw, 1.32rem); color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 0.92rem; }

/* Barra di avanzamento della lettura */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--pink), var(--violet), var(--cyan));
}

/* Intestazione: una pillola di vetro che galleggia */
.site-header { position: sticky; top: 0; z-index: 50; padding: 12px 0 0; }
.header-inner {
  display: flex; align-items: center; gap: 20px; min-height: 60px; padding: 8px 8px 8px 18px;
  max-width: calc(var(--maxw) + 2 * var(--gutter) - 24px);
  border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-edge);
  -webkit-backdrop-filter: blur(24px) saturate(190%); backdrop-filter: blur(24px) saturate(190%);
  box-shadow: inset 0 1px 0 var(--glass-rim), var(--glass-shadow);
  transition: box-shadow 0.3s, background-color 0.3s;
}
.is-scrolled .header-inner { background: var(--glass-strong); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 750; font-size: 1.2rem; letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; transition: transform 0.5s var(--spring); }
.brand:hover img { transform: rotate(-8deg) scale(1.08); }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.site-nav ul { display: flex; gap: 2px; margin: 0; }
.site-nav li + li { margin: 0; }
.site-nav ul a {
  position: relative; display: block; padding: 8px 13px; border-radius: 999px; color: var(--text); text-decoration: none; font-size: 0.96rem; font-weight: 520;
  transition: background-color 0.2s;
}
.site-nav ul a:hover { background: var(--glass-hover); }
.site-nav ul a[aria-current="page"] { background: var(--glass-strong); color: var(--accent); font-weight: 650; box-shadow: inset 0 1px 0 var(--glass-rim), 0 2px 8px rgba(60, 30, 140, 0.12); }
.nav-cta { margin-left: 6px; }
.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--glass-edge);
  background: var(--glass-strong); color: var(--text); align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

@media (max-width: 980px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + 8px);
    flex-direction: column; align-items: stretch; gap: 10px; padding: 12px;
    border-radius: var(--radius-lg); background: var(--glass-strong); border: 1px solid var(--glass-edge);
    -webkit-backdrop-filter: blur(30px) saturate(190%); backdrop-filter: blur(30px) saturate(190%);
    box-shadow: inset 0 1px 0 var(--glass-rim), var(--glass-shadow-lg);
    max-height: calc(100vh - 100px); overflow-y: auto;
    opacity: 0; transform: translateY(-8px) scale(0.98); visibility: hidden;
    transition: opacity 0.25s var(--ease), transform 0.35s var(--ease), visibility 0s 0.35s;
  }
  .js .site-nav.open { opacity: 1; transform: none; visibility: visible; transition: opacity 0.25s var(--ease), transform 0.35s var(--ease); }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { padding: 12px 14px; border-radius: 14px; font-size: 1.05rem; }
  .nav-cta { margin-left: 0; }
  .no-js .header-inner { flex-wrap: wrap; border-radius: var(--radius-lg); }
  .no-js .site-nav { margin-left: 0; flex-wrap: wrap; }
  .no-js .site-nav ul { flex-wrap: wrap; flex-direction: row; }
}

/* Piè di pagina */
.site-footer { padding: 40px 0 28px; font-size: 0.95rem; }
.footer-card {
  padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg);
  background: var(--glass); border: 1px solid var(--glass-edge);
  -webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%);
  box-shadow: inset 0 1px 0 var(--glass-rim), var(--glass-shadow);
}
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer-brand p { color: var(--muted); max-width: 34ch; margin-top: 12px; }
.site-footer h2 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 12px; }
.site-footer ul a { color: var(--text); text-decoration: none; }
.site-footer ul a:hover { color: var(--link); text-decoration: underline; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.88rem; }
.footer-bottom p { margin: 0 0 4px; }
.footer-bottom a { color: var(--muted); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ============================================================ 5. Vetro e componenti */

/* Il materiale vetro, come nell'app */
.card, .glass-panel {
  position: relative; isolation: isolate;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.18) 0%, transparent 45%), var(--glass);
  -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid var(--glass-edge); border-radius: var(--radius-lg);
  box-shadow: inset 0 1px 0 var(--glass-rim), inset 0 -1px 1px rgba(255, 255, 255, 0.05), var(--glass-shadow);
}
.card { padding: clamp(20px, 2.5vw, 28px); transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.card h3 { margin-bottom: 0.4em; }
.card p { color: var(--muted); }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }

/* Riflesso che segue il puntatore (--mx/--my da effects.js) */
.spec::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, -20%), var(--spec), transparent 45%);
  opacity: 0; transition: opacity 0.4s;
}
.spec:hover::before { opacity: 1; }
/* Bordo a gradiente che si accende al passaggio */
.spec::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), rgba(236, 72, 153, 0.9), rgba(139, 92, 246, 0.7) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity 0.4s;
}
.spec:hover::after { opacity: 1; }
.card.spec:hover { transform: translateY(-4px); box-shadow: inset 0 1px 0 var(--glass-rim), var(--glass-shadow-lg); }

/* Anello a gradiente rotante */
.ring { position: relative; isolation: isolate; }
.ring::after {
  content: ""; position: absolute; inset: -2px; border-radius: inherit; padding: 2px; pointer-events: none; z-index: 1;
  background: var(--ring-grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: spin 4s linear infinite;
}
@keyframes spin { to { --angle: 360deg; } }

/* Pulsanti */
.btn {
  --btn-bg: var(--glass-strong); --btn-fg: var(--text);
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 46px; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--glass-edge);
  background: var(--btn-bg); color: var(--btn-fg); font: inherit; font-weight: 620; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  -webkit-backdrop-filter: blur(16px) saturate(180%); backdrop-filter: blur(16px) saturate(180%);
  box-shadow: inset 0 1px 0 var(--glass-rim), var(--glass-shadow);
  transition: transform 0.35s var(--spring), box-shadow 0.3s var(--ease), filter 0.3s;
}
.btn::before { /* lampo di luce al passaggio */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.55) 48%, transparent 66%);
  transform: translateX(-120%); transition: transform 0.8s var(--ease);
}
.btn:hover::before { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px) scale(1.02); text-decoration: none; }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-primary { background: var(--btn-grad); color: #fff; border-color: rgba(255, 255, 255, 0.25); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 30px rgba(124, 58, 237, 0.4); }
.btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 16px 44px rgba(219, 39, 119, 0.45); }
.btn-sm { min-height: 42px; padding: 8px 16px; font-size: 0.95rem; }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 1.08rem; }
.btn-light { background: #fff; color: #1b1640; border-color: transparent; box-shadow: 0 10px 30px rgba(8, 6, 30, 0.35); }
.btn-glass { background: rgba(255, 255, 255, 0.14); color: #fff; border-color: rgba(255, 255, 255, 0.3); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.link-arrow { display: inline-flex; align-items: center; gap: 0.35em; font-weight: 650; text-decoration: none; }
.link-arrow .icon { width: 1.05em; height: 1.05em; transition: transform 0.3s var(--spring); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow:hover { text-decoration: underline; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.actions--center { justify-content: center; }

.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 13px; border-radius: 999px;
  font-size: 0.82rem; font-weight: 650; background: var(--glass); color: var(--accent); border: 1px solid var(--glass-edge);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }

.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.feature-icon {
  position: relative; display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; margin-bottom: 16px;
  color: #fff; background: linear-gradient(135deg, var(--pink), var(--violet) 55%, var(--cyan));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -2px 6px rgba(40, 10, 90, 0.25), 0 8px 20px rgba(124, 58, 237, 0.35);
  transition: transform 0.5s var(--spring);
}
.feature-icon .icon { width: 24px; height: 24px; }
.card:hover .feature-icon { transform: rotate(-6deg) scale(1.08); }

.checks { margin: 0 0 1em; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .icon { color: var(--accent); width: 1.15em; height: 1.15em; margin-top: 0.27em; }
.bullets { padding-left: 1.1em; color: var(--muted); }
.bullets li::marker { color: var(--accent); }
.bullets strong { color: var(--text); font-weight: 620; }

/* Sezioni scure «Aurora» con la luce che segue il puntatore */
.aurora {
  position: relative; isolation: isolate; overflow: hidden; color: #fff; background-color: var(--aurora-base);
}
.aurora::before {
  content: ""; position: absolute; inset: -20%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(40% 50% at 15% 15%, rgba(123, 77, 255, 0.9), transparent 70%),
    radial-gradient(35% 45% at 88% 20%, rgba(6, 182, 212, 0.6), transparent 70%),
    radial-gradient(45% 45% at 55% 100%, rgba(236, 72, 153, 0.75), transparent 70%),
    radial-gradient(30% 30% at 70% 60%, rgba(139, 92, 246, 0.45), transparent 70%);
  animation: aurora-move 18s ease-in-out infinite alternate;
}
.aurora::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 40%), rgba(255, 255, 255, 0.1), transparent 50%);
}
@keyframes aurora-move {
  50% { transform: translate(3%, -4%) rotate(4deg) scale(1.05); }
  100% { transform: translate(-4%, 3%) rotate(-3deg) scale(1.08); }
}
.aurora a:not(.btn) { color: #fff; }
.aurora .muted, .aurora .lead, .aurora .section-head p { color: rgba(255, 255, 255, 0.86); }
.aurora .eyebrow { color: #fff; background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.25); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.aurora :focus-visible { outline-color: #fff; }
.aurora .card, .glass {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.04) 50%), rgba(20, 18, 52, 0.36);
  -webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.22); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 20px 50px rgba(8, 6, 30, 0.35);
  border-radius: var(--radius-lg);
}
.glass { position: relative; isolation: isolate; padding: clamp(20px, 2.5vw, 28px); }
.aurora .card p, .glass p { color: rgba(255, 255, 255, 0.86); }
.aurora .feature-icon { background: rgba(255, 255, 255, 0.16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45); }
.aurora .spec::before { --spec: rgba(255, 255, 255, 0.18); }
/* bordo arrotondato per le fasce aurora dentro la pagina */
.aurora-panel { margin: 0 var(--gutter); border-radius: clamp(24px, 3vw, 40px); }
@media (min-width: 1300px) { .aurora-panel { margin: 0 auto; max-width: 1360px; } }

/* Screenshot e segnaposto */
.shot { margin: 0; perspective: 1400px; }
.shot picture, .shot img { border-radius: var(--radius); width: 100%; }
.shot img { box-shadow: var(--glass-shadow-lg); border: 1px solid var(--glass-edge); }
.shot-frame {
  position: relative; aspect-ratio: 16 / 10; width: 100%; overflow: hidden; border-radius: var(--radius);
  background-color: var(--aurora-base);
  background-image:
    radial-gradient(ellipse at 20% 20%, rgba(123, 77, 255, 0.95) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 30%, rgba(0, 194, 168, 0.8) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(255, 77, 141, 0.9) 0%, transparent 55%);
  box-shadow: var(--glass-shadow-lg); border: 1px solid rgba(255, 255, 255, 0.25);
  transition: transform 0.6s var(--ease);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}
.shot-frame::before { /* segnaposto: bordo tratteggiato */
  content: ""; position: absolute; inset: 10px; border: 2px dashed rgba(255, 255, 255, 0.5); border-radius: calc(var(--radius) - 6px); z-index: 2; pointer-events: none;
}
.shot-frame::after { /* riflesso che segue il puntatore */
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.18), transparent 45%);
}
.shot[data-tema="chiaro"] .shot-frame { background-color: #c9c3f2; }
.shot-frame > span { position: absolute; display: block; }
.mk-bar { inset: 0 0 auto 0; height: 4.2%; background: rgba(255, 255, 255, 0.35); }
.mk-dock { left: 28%; right: 28%; bottom: 3%; height: 8%; border-radius: 12px; background: rgba(255, 255, 255, 0.32); border: 1px solid rgba(255, 255, 255, 0.5); }
.mk-taskbar { inset: auto 0 0 0; height: 7.5%; background: rgba(255, 255, 255, 0.45); }
.mk-win, .mk-card, .mk-side { background: rgba(255, 255, 255, 0.72); border-radius: 10px; box-shadow: 0 10px 30px rgba(10, 8, 40, 0.3); }
.shot[data-tema="scuro"] .mk-win, .shot[data-tema="scuro"] .mk-card, .shot[data-tema="scuro"] .mk-side { background: rgba(28, 26, 48, 0.72); border: 1px solid rgba(255, 255, 255, 0.15); }
.mk-win::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 11%; border-bottom: 1px solid rgba(127, 127, 160, 0.25); }
.mk-w1 { left: 6%; top: 11%; width: 42%; height: 56%; animation: float 7s ease-in-out infinite; }
.mk-w2 { left: 38%; top: 24%; width: 40%; height: 52%; animation: float 8s ease-in-out -2s infinite; }
.mk-w3 { left: 64%; top: 9%; width: 30%; height: 40%; animation: float 9s ease-in-out -4s infinite; }
.shot--windows .mk-w1 { top: 6%; } .shot--windows .mk-w3 { top: 5%; }
.mk-side { left: 4%; top: 6%; bottom: 6%; width: 18%; }
.mk-card { width: 22%; height: 36%; animation: float 8s ease-in-out infinite; }
.mk-c1 { left: 26%; top: 6%; } .mk-c2 { left: 50%; top: 6%; animation-delay: -2s; } .mk-c3 { left: 74%; top: 6%; width: 22%; animation-delay: -4s; } .mk-c4 { left: 26%; top: 46%; width: 46%; height: 48%; animation-delay: -6s; }
@keyframes float { 50% { transform: translateY(-3%); } }
.shot-label {
  left: 50%; top: 50%; transform: translate(-50%, -50%); max-width: 86%; text-align: center; z-index: 4;
  padding: 8px 14px; border-radius: 999px; font: 600 0.82rem/1.3 var(--font); color: #fff;
  background: rgba(15, 12, 40, 0.78); border: 1px solid rgba(255, 255, 255, 0.35);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.shot figcaption { margin-top: 12px; font-size: 0.88rem; color: var(--muted); }
.aurora .shot figcaption { color: rgba(255, 255, 255, 0.78); }

/* Selettore macOS / Windows 11 */
.switcher { display: grid; gap: 18px; }
.seg {
  justify-self: center; position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--glass-edge);
  -webkit-backdrop-filter: blur(16px) saturate(180%); backdrop-filter: blur(16px) saturate(180%);
  box-shadow: inset 0 1px 0 var(--glass-rim), var(--glass-shadow);
}
.seg::before { /* la pillola che scorre sotto il pulsante attivo */
  content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px;
  background: var(--glass-strong); box-shadow: inset 0 1px 0 var(--glass-rim), 0 2px 10px rgba(40, 20, 100, 0.2);
  transition: transform 0.45s var(--spring);
}
.seg[data-active="windows"]::before { transform: translateX(100%); }
.aurora .seg { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.25); }
.aurora .seg::before { background: #fff; }
.seg-btn {
  position: relative; z-index: 1; min-height: 38px; padding: 6px 20px; border-radius: 999px; border: 0; background: transparent;
  color: inherit; font: inherit; font-size: 0.95rem; font-weight: 620; cursor: pointer; white-space: nowrap;
}
.aurora .seg-btn[aria-pressed="true"] { color: #1b1640; }
.no-js .seg { display: none; }
.no-js .switch-pane + .switch-pane { margin-top: 16px; }

/* Download */
.dl-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.dl-item { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.dl-btn { justify-content: flex-start; text-align: left; border-radius: 18px; padding: 10px 18px; }
.dl-text { display: flex; flex-direction: column; }
.dl-text small { font-weight: 450; font-size: 0.8rem; opacity: 0.8; }
.dl-meta { font-size: 0.85rem; color: var(--muted); }
.dl-meta:empty { display: none; }
.dl-badge, .dl-mobile { display: flex; gap: 8px; align-items: center; font-size: 0.9rem; font-weight: 600; margin: 0 0 10px; }
.dl-mobile { font-weight: 500; align-items: flex-start; max-width: 52ch; }
.dl-mobile .icon { margin-top: 0.15em; }
.dl-list, .dl-cards { transition: opacity 0.4s var(--ease); }
.dl.is-loading .dl-list, .dl.is-loading .dl-cards { opacity: 0; pointer-events: none; }
.dl-soon {
  display: none; align-items: center; gap: 6px; margin-left: auto; padding: 4px 10px; border-radius: 999px; white-space: nowrap;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em; color: var(--accent);
  background: var(--glass); border: 1px solid var(--glass-edge); box-shadow: inset 0 1px 0 var(--glass-rim);
}
.dl-soon .icon { width: 14px; height: 14px; }
.dl-item.is-soon .dl-soon { display: inline-flex; }
.dl-item.is-soon .dl-btn { cursor: default; gap: 12px; }
.dl-item.is-soon .dl-btn > .icon { opacity: 0.45; }
.dl-item.is-soon .dl-text { opacity: 0.7; }
.dl-item.is-soon .dl-btn::before, .dl-item.is-soon .dl-btn::after { display: none; }
.dl-item.is-soon .dl-btn:hover { transform: none; }
.dl--hero .dl-soon, .dl--cta .dl-soon { color: #fff; background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.32); }
.dl--hero.is-detected .is-primary.is-soon .dl-btn, .dl--cta.is-detected .is-primary.is-soon .dl-btn { background: rgba(255, 255, 255, 0.14); color: #fff; }
.dl--hero.is-detected .is-primary.is-soon .dl-soon, .dl--cta.is-detected .is-primary.is-soon .dl-soon { color: #fff; }
.dl-foot { margin: 16px 0 0; font-size: 0.92rem; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.dl--hero .dl-btn, .dl--cta .dl-btn { --btn-bg: rgba(255, 255, 255, 0.14); color: #fff; border-color: rgba(255, 255, 255, 0.3); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.dl--hero .dl-meta, .dl--cta .dl-meta { color: rgba(255, 255, 255, 0.82); padding-left: 4px; }
.dl--hero.is-detected .is-primary .dl-btn, .dl--cta.is-detected .is-primary .dl-btn {
  background: #fff; color: #1b1640; border-color: transparent; min-height: 62px; padding: 12px 28px 12px 22px; font-size: 1.08rem;
  box-shadow: 0 14px 40px rgba(8, 6, 30, 0.4), 0 0 0 6px rgba(255, 255, 255, 0.12);
}
.dl--hero.is-detected .is-primary .dl-btn::before, .dl--cta.is-detected .is-primary .dl-btn::before { background: linear-gradient(105deg, transparent 30%, rgba(139, 92, 246, 0.25) 48%, transparent 66%); }
.dl--hero.is-detected .is-primary .dl-text small, .dl--cta.is-detected .is-primary .dl-text small { opacity: 0.72; }
.dl.is-detected .dl-list .dl-item:not(.is-primary) { display: none; }
.dl-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); margin: 0; align-items: stretch; }
@media (max-width: 960px) { .dl-cards { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
.dl-os {
  position: relative; display: flex; flex-direction: column; margin: 0; padding: clamp(22px, 3vw, 30px); border-radius: var(--radius-lg);
  background: var(--glass); border: 1px solid var(--glass-edge);
  -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  box-shadow: inset 0 1px 0 var(--glass-rim), var(--glass-shadow);
  transition: transform 0.5s var(--spring), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.dl-os:hover { transform: translateY(-4px); box-shadow: inset 0 1px 0 var(--glass-rim), var(--glass-shadow-lg); }
.dl-os-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.dl-os .feature-icon { width: 58px; height: 58px; border-radius: 18px; margin-bottom: 18px; }
.dl-os .feature-icon .icon { width: 28px; height: 28px; }
.dl-os:hover .feature-icon { transform: rotate(-6deg) scale(1.08); }
.dl-os h3 { margin: 0 0 6px; font-size: clamp(1.4rem, 2.2vw, 1.7rem); letter-spacing: -0.02em; }
.dl-os-req { margin: 0 0 20px; color: var(--muted); font-size: 0.95rem; }
.dl-os .dl-badge {
  margin: 0; padding: 5px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 700; color: #fff; white-space: nowrap;
  background: var(--btn-grad); box-shadow: 0 6px 18px rgba(124, 58, 237, 0.35);
}
.dl-os .dl-badge .icon { width: 14px; height: 14px; }
.dl-os.is-primary {
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  box-shadow: inset 0 1px 0 var(--glass-rim), 0 0 0 1px color-mix(in srgb, var(--accent) 40%, transparent), 0 24px 70px rgba(124, 58, 237, 0.3);
}
.dl-os.is-primary::before { /* alone che respira dietro la scheda del tuo sistema */
  content: ""; position: absolute; inset: -30px; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(closest-side, rgba(139, 92, 246, 0.35), transparent); filter: blur(20px);
  animation: dl-breathe 5s ease-in-out infinite;
}
@keyframes dl-breathe { 50% { opacity: 0.45; transform: scale(0.94); } }
.dl-arch { justify-self: start; align-self: flex-start; margin: 0 0 14px; }
.dl-arch .seg-btn { min-height: 34px; padding: 4px 18px; font-size: 0.88rem; }
.dl-arch[data-active="1"]::before { transform: translateX(100%); }
.dl-os-items { margin-top: auto; display: grid; gap: 10px; }
.dl--full .dl-item { gap: 8px; }
.dl--full .dl-btn { width: 100%; min-height: 58px; padding: 10px 18px; }
.dl--full .dl-btn strong { font-size: 1.05rem; }
.dl-os.is-primary .dl-item:not(.is-soon) .dl-btn { background: var(--btn-grad); color: #fff; border-color: transparent; box-shadow: 0 12px 30px rgba(124, 58, 237, 0.35); }
.dl--full .dl-meta { margin: 0 2px; font-size: 0.82rem; }
.dl--full .dl-sha { margin: 0 2px; }
.no-js .dl-os-items { gap: 14px; }
.dl-sha summary { cursor: pointer; font-size: 0.82rem; color: var(--link); font-weight: 650; }
.dl-sha p { margin: 8px 0 0; font-size: 0.8rem; display: grid; gap: 4px; }
.dl-sha code { word-break: break-all; display: block; }
.dl-file { color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq-item {
  position: relative; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--glass-edge);
  -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%);
  box-shadow: inset 0 1px 0 var(--glass-rim), var(--glass-shadow); transition: background-color 0.3s;
}
.faq-item[open] { background: var(--glass-strong); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center;
  padding: 18px 22px; font-weight: 650; font-size: 1.05rem; border-radius: var(--radius);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chev { color: var(--accent); transition: transform 0.4s var(--spring); }
.faq-item[open] .faq-chev { transform: rotate(180deg); }
.faq-a { padding: 0 22px 18px; color: var(--muted); }
.faq-item[open] .faq-a { animation: faq-in 0.45s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }
.faq-a p:last-child, .faq-a ul:last-child, .faq-a ol:last-child { margin-bottom: 0; }

/* Testi lunghi */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.45rem; margin-top: 2.2em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.8em; }
.prose h1 + p { color: var(--muted); }
.legal-card { padding: clamp(24px, 5vw, 56px); }
.legal h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); }

/* Avvisi */
.note {
  position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius);
  background: var(--glass); border: 1px solid var(--glass-edge);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: inset 3px 0 0 var(--accent), inset 0 1px 0 var(--glass-rim), var(--glass-shadow);
}
.note .icon { color: var(--accent); margin-top: 0.2em; }
.note p:last-child { margin: 0; }
.todo {
  display: inline; padding: 0.05em 0.4em; border-radius: 6px; font-weight: 600; font-size: 0.92em;
  background: #fef08a; color: #422006; border: 1px dashed #a16207;
}

/* ============================================================ 6. Demo animata del desktop (hero) */

.demo-wrap { perspective: 1600px; }
.demo {
  container-type: inline-size; position: relative; width: 100%; aspect-ratio: 16 / 10;
  transform: rotateX(var(--rx, 6deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d;
  transition: transform 0.8s var(--ease);
}
.demo-screen {
  position: absolute; inset: 0; overflow: hidden; border-radius: clamp(10px, 1.6cqw, 22px);
  font: 400 clamp(6px, 1.15cqw, 14px)/1.4 var(--font); color: #1d1d1f;
  background-color: #141632;
  background-image:
    radial-gradient(ellipse at 20% 20%, #7b4dff 0%, transparent 55%),
    radial-gradient(ellipse at 80% 30%, #00c2a8 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, #ff4d8d 0%, transparent 55%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22), 0 50px 120px rgba(5, 3, 25, 0.6), 0 10px 30px rgba(5, 3, 25, 0.4);
}
.demo-screen::after { /* vetro del monitor */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 20;
  background: radial-gradient(700px circle at var(--mx, 30%) var(--my, 0%), rgba(255, 255, 255, 0.14), transparent 45%);
}
.demo-glass {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.25), transparent 50%), rgba(255, 255, 255, 0.4);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.5);
}
/* barra dei menu */
.demo-menubar {
  position: absolute; inset: 0 0 auto 0; height: 4.4%; display: flex; align-items: center; gap: 1.6em; padding: 0 1.2em;
  font-size: 0.92em; color: #fff; font-weight: 500;
  background: rgba(20, 16, 50, 0.25); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.demo-menubar b { font-weight: 700; }
.demo-menubar .dm-right { margin-left: auto; display: flex; gap: 1.4em; opacity: 0.95; }
.demo-menubar .dm-logo { width: 1.1em; height: 1.1em; border-radius: 0.3em; background: linear-gradient(135deg, var(--pink), var(--violet), var(--cyan)); }
/* finestre */
.demo-win {
  position: absolute; display: flex; flex-direction: column; overflow: hidden; border-radius: 0.9em;
  background: rgba(246, 246, 250, 0.82); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 1.4em 3em rgba(10, 6, 40, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: transform 0.6s var(--spring), border-radius 0.4s, top 0.6s var(--ease), left 0.6s var(--ease);
  animation: win-in 0.9s var(--spring) both;
}
.demo-win:nth-of-type(2) { animation-delay: 0.15s; } .demo-win:nth-of-type(3) { animation-delay: 0.3s; }
@keyframes win-in { from { opacity: 0; transform: translateY(6%) scale(0.92); } }
.dw-title { display: flex; align-items: center; gap: 0.5em; height: 2.3em; padding: 0 0.9em; font-weight: 600; font-size: 0.92em; color: #3a3a46; border-bottom: 1px solid rgba(0, 0, 0, 0.07); flex: none; }
.dw-title .tl { display: flex; gap: 0.45em; margin-right: 0.6em; }
.dw-title .tl i { width: 0.9em; height: 0.9em; border-radius: 50%; display: block; }
.dw-title .tl i:nth-child(1) { background: #ff5f57; } .dw-title .tl i:nth-child(2) { background: #febc2e; } .dw-title .tl i:nth-child(3) { background: #28c840; }
.dw-title .wc { display: none; margin-left: auto; gap: 1.3em; font-weight: 400; color: #555; }
.dw-body { flex: 1; min-height: 0; padding: 0.9em; }
/* terminale */
.demo-term { left: 4%; top: 10%; width: 47%; height: 54%; background: rgba(22, 20, 40, 0.88); border-color: rgba(255, 255, 255, 0.14); }
.demo-term .dw-title { color: rgba(255, 255, 255, 0.85); border-color: rgba(255, 255, 255, 0.08); }
.demo-term pre { margin: 0; font: 500 0.95em/1.5 var(--mono); color: #e6e3ff; white-space: pre-wrap; word-break: break-word; height: 100%; overflow: hidden; }
.demo-term .p { color: #a78bfa; } .demo-term .ok { color: #4ade80; } .demo-term .dim { color: #9c97c4; } .demo-term .hl { color: #22d3ee; }
.demo-term .caret { display: inline-block; width: 0.55em; height: 1.1em; vertical-align: -0.15em; background: #e6e3ff; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
/* monitoraggio */
.demo-mon { left: 54%; top: 9%; width: 42%; height: 42%; }
.dm-rows { display: grid; gap: 0.7em; }
.dm-row { display: grid; grid-template-columns: 5.5em 1fr 3em; align-items: center; gap: 0.6em; font-size: 0.92em; color: #3a3a46; }
.dm-row b { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.dm-bar { height: 0.7em; border-radius: 1em; background: rgba(0, 0, 0, 0.08); overflow: hidden; }
.dm-bar i { display: block; height: 100%; width: var(--v, 30%); border-radius: inherit; background: linear-gradient(90deg, var(--pink), var(--violet), var(--cyan)); transition: width 1.2s var(--ease); }
.dm-spark { margin-top: 0.8em; height: 4.2em; width: 100%; }
.dm-spark path { fill: none; stroke: url(#dm-grad); stroke-width: 2; vector-effect: non-scaling-stroke; }
.dm-spark .area { fill: url(#dm-fill); stroke: none; }
/* file */
.demo-files { left: 30%; top: 46%; width: 44%; height: 38%; }
.df-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9em 0.6em; text-align: center; font-size: 0.85em; color: #3a3a46; }
.df-grid span { display: grid; justify-items: center; gap: 0.3em; }
.df-grid i { width: 2.6em; height: 2.1em; border-radius: 0.35em; background: linear-gradient(180deg, #7cc4ff, #3d8bfd); box-shadow: inset 0 0.3em 0 rgba(255, 255, 255, 0.35); display: block; }
.df-grid i.f { width: 2em; height: 2.5em; background: #fff; border: 1px solid rgba(0, 0, 0, 0.15); box-shadow: none; }
/* widget */
.demo-widget { position: absolute; right: 3%; top: 55%; width: 19%; padding: 0.9em 1em; border-radius: 1.1em; color: #fff; }
.demo-widget .dwg-time { font-size: 2.4em; font-weight: 700; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.demo-widget .dwg-date { font-size: 0.9em; opacity: 0.85; margin-top: 0.3em; }
.demo-widget.demo-glass { background: linear-gradient(160deg, rgba(255, 255, 255, 0.28), transparent 60%), rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.35); }
/* dock (macOS) */
.demo-dock {
  position: absolute; left: 50%; bottom: 2.2%; transform: translateX(-50%); display: flex; align-items: flex-end; gap: 0.55em;
  padding: 0.55em; border-radius: 1.3em; height: 5.2em;
}
.demo-dock .app {
  width: 3.8em; height: 3.8em; border-radius: 0.95em; display: grid; place-items: center; color: #fff; flex: none;
  transform-origin: 50% 100%; transform: scale(var(--s, 1)) translateY(calc((var(--s, 1) - 1) * -0.4em));
  transition: transform 0.18s ease-out; box-shadow: 0 0.3em 0.8em rgba(10, 6, 40, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.demo-dock .app svg { width: 55%; height: 55%; }
.app.a1 { background: linear-gradient(135deg, #3d8bfd, #0a5ad6); } .app.a2 { background: linear-gradient(135deg, #3b3b4f, #16151f); }
.app.a3 { background: linear-gradient(135deg, #a78bfa, #6d28d9); } .app.a4 { background: linear-gradient(135deg, #34d399, #059669); }
.app.a5 { background: linear-gradient(135deg, #38bdf8, #0369a1); } .app.a6 { background: linear-gradient(135deg, #fbbf24, #d97706); }
.app.a7 { background: linear-gradient(135deg, #f472b6, #be185d); } .app.a8 { background: linear-gradient(135deg, #f87171, #b91c1c); }
.demo-dock .sep { width: 1px; align-self: stretch; margin: 0.4em 0.1em; background: rgba(255, 255, 255, 0.5); }
/* barra delle applicazioni (Windows 11) */
.demo-taskbar {
  position: absolute; inset: auto 0 0 0; height: 7%; display: none; align-items: center; justify-content: center; gap: 0.5em;
  background: rgba(240, 240, 248, 0.72); -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%);
  border-top: 1px solid rgba(255, 255, 255, 0.6);
}
.demo-taskbar .app { width: 2.7em; height: 2.7em; border-radius: 0.5em; display: grid; place-items: center; color: #fff; transition: transform 0.25s var(--spring); }
.demo-taskbar .app:hover { transform: translateY(-0.2em); }
.demo-taskbar .app svg { width: 60%; height: 60%; }
.demo-taskbar .start { background: transparent; color: #0067c0; }
.demo-taskbar .start svg { width: 70%; height: 70%; }
.demo-taskbar .tb-right { position: absolute; right: 1.2em; font-size: 0.85em; text-align: right; line-height: 1.25; color: #222; font-variant-numeric: tabular-nums; }
/* stile Windows 11 */
.demo[data-style="windows"] .demo-menubar, .demo[data-style="windows"] .demo-dock { display: none; }
.demo[data-style="windows"] .demo-taskbar { display: flex; }
.demo[data-style="windows"] .demo-win { border-radius: 0.55em; }
.demo[data-style="windows"] .dw-title .tl { display: none; }
.demo[data-style="windows"] .dw-title .wc { display: flex; }
.demo[data-style="windows"] .demo-term .dw-title .wc { color: rgba(255, 255, 255, 0.8); }
.demo[data-style="windows"] .demo-term { top: 4%; }
.demo[data-style="windows"] .demo-mon { top: 4%; }
.demo[data-style="windows"] .demo-files { top: 44%; }
.demo[data-style="windows"] .demo-widget { top: 50%; border-radius: 0.6em; }
.demo-caption { margin-top: 14px; text-align: center; font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); }

/* ============================================================ 7. Sezioni */

/* Hero */
.hero { padding: clamp(40px, 6vw, 88px) 0 clamp(56px, 7vw, 110px); margin-top: -84px; padding-top: calc(84px + clamp(40px, 6vw, 88px)); }
.hero, .page-hero.aurora { -webkit-mask: linear-gradient(to bottom, #000 calc(100% - 90px), transparent); mask: linear-gradient(to bottom, #000 calc(100% - 90px), transparent); }
.hero-grid { display: grid; gap: clamp(40px, 5vw, 72px); }
.hero-copy { max-width: 860px; }
.hero h1 { margin-bottom: 0.35em; }
.hero h1 .soft { display: block; color: rgba(255, 255, 255, 0.72); font-weight: 750; }
.hero h1 .grad-text { background-image: linear-gradient(100deg, #fff 0%, #f9a8d4 25%, #c4b5fd 50%, #67e8f9 75%, #fff 100%); }
.hero .lead { max-width: 62ch; margin-bottom: 1.6em; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.hero-pills .pill, .aurora .pill { background: rgba(255, 255, 255, 0.14); color: #fff; border-color: rgba(255, 255, 255, 0.25); }
.hero-shot { max-width: 1120px; width: 100%; margin: 0 auto; }

.page-hero { padding: clamp(40px, 5vw, 80px) 0 clamp(44px, 5vw, 76px); margin-top: -84px; padding-top: calc(84px + clamp(40px, 5vw, 80px)); }
.page-hero h1 { font-size: clamp(2.2rem, 1.4rem + 3.2vw, 3.8rem); }
.page-hero .lead { max-width: 64ch; margin-bottom: 0; }
.page-hero .actions { margin-top: 28px; }
.page-hero--plain { margin-top: 0; padding-top: clamp(48px, 6vw, 96px); padding-bottom: 8px; }

/* Nastro delle app che scorre */
.marquee { display: grid; gap: 14px; padding: 8px 0; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 60s linear infinite; }
.marquee-track.rev { animation-direction: reverse; animation-duration: 70s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; gap: 12px; margin: 0; }
.marquee li { margin: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border-radius: 999px; white-space: nowrap; font-weight: 600;
  background: var(--glass); border: 1px solid var(--glass-edge); box-shadow: inset 0 1px 0 var(--glass-rim), var(--glass-shadow);
  -webkit-backdrop-filter: blur(16px) saturate(180%); backdrop-filter: blur(16px) saturate(180%);
}
.chip .ci { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--pink), var(--violet) 55%, var(--cyan)); }
.chip .ci .icon { width: 18px; height: 18px; }
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }

/* Numeri */
.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.stat { text-align: center; padding: 24px 12px; }
.stat strong { display: block; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat:last-child { grid-column: 1 / -1; } }

/* Per chi è */
.audience { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.audience li { margin: 0; display: flex; gap: 12px; align-items: flex-start; padding: 20px; }
.audience .icon { color: var(--accent); margin-top: 0.15em; }
.audience strong { display: block; }
.audience span { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 1000px) { .audience { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .audience { grid-template-columns: 1fr; } }

/* Come funziona */
.steps { counter-reset: step; position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; }
.steps::before { /* la linea che si riempie */
  content: ""; position: absolute; left: 8%; right: 8%; top: 38px; height: 2px; border-radius: 2px; z-index: 0;
  background: linear-gradient(90deg, var(--pink), var(--violet), var(--cyan)); transform-origin: 0 50%; transform: scaleX(var(--fill, 1));
  transition: transform 1.6s var(--ease);
}
.steps li { margin: 0; counter-increment: step; position: relative; padding-top: 72px; z-index: 1; }
.steps li::before {
  content: counter(step); position: absolute; top: 18px; left: clamp(20px, 2.5vw, 28px);
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%;
  font-weight: 800; color: #fff; background: var(--btn-grad); box-shadow: 0 0 0 6px var(--glass), 0 8px 20px rgba(124, 58, 237, 0.4);
}
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .steps::before { display: none; } }

/* Gruppi di funzioni */
.feature-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.feature-row + .feature-row { margin-top: clamp(64px, 8vw, 120px); }
.feature-row:nth-child(even) .feature-copy { order: 2; }
.feature-copy h3 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); letter-spacing: -0.03em; }
.feature-copy > p { color: var(--muted); font-size: 1.08rem; }
.feature-num { display: inline-block; font: 700 0.85rem/1 var(--mono); color: var(--accent); margin-bottom: 12px; letter-spacing: 0.05em; }
@media (max-width: 900px) { .feature-row { grid-template-columns: 1fr; } .feature-row:nth-child(even) .feature-copy { order: 0; } }
.feature-rows + .actions { margin-top: 56px; justify-content: center; }

/* Spotlight da provare */
.spot { max-width: 720px; margin: 0 auto; border-radius: 22px; overflow: hidden; }
.spot-field { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-bottom: 1px solid var(--glass-line); }
.spot-field .icon { width: 26px; height: 26px; color: var(--muted); }
.spot-field input {
  flex: 1; min-width: 0; border: 0; background: transparent; font: 500 1.35rem/1.3 var(--font); color: var(--text); padding: 4px 0;
}
.spot-field input::placeholder { color: var(--muted); opacity: 0.8; }
.spot-field input:focus { outline: none; }
.spot:focus-within { box-shadow: 0 0 0 3px var(--focus), var(--glass-shadow-lg); }
.spot-field kbd { flex: none; }
.spot-list { margin: 0; padding: 8px; max-height: 340px; overflow-y: auto; }
.spot-list li { margin: 0; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; transition: background-color 0.15s; animation: faq-in 0.3s var(--ease) both; }
.spot-list li:first-child { background: var(--btn-grad); color: #fff; }
.spot-list li:first-child .kind { color: rgba(255, 255, 255, 0.85); }
.spot-list .si { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex: none; color: #fff; background: linear-gradient(135deg, var(--pink), var(--violet) 55%, var(--cyan)); }
.spot-list li:first-child .si { background: rgba(255, 255, 255, 0.2); }
.spot-list .si .icon { width: 17px; height: 17px; }
.spot-list .kind { margin-left: auto; font-size: 0.82rem; color: var(--muted); }
.spot-empty { padding: 18px; color: var(--muted); text-align: center; }
.spot-hint { text-align: center; color: var(--muted); font-size: 0.92rem; margin-top: 16px; }

/* Connessione diretta (sicurezza) */
/* Sicurezza: protezioni in breve e livelli */
.pill .icon { width: 15px; height: 15px; }
.sec-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 28px auto 0; padding: 0; max-width: 980px; }
.sec-chips li {
  display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 8px 14px; border-radius: 999px; font-size: 0.9rem; font-weight: 600;
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.26); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.sec-chips .icon { width: 16px; height: 16px; }
.layers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); margin: 0; padding: 0; counter-reset: none; }
.layers li { margin: 0; border-radius: var(--radius-lg); }
.layers li.glass { padding: 0; }
.layers a { display: flex; gap: 16px; align-items: flex-start; padding: 22px; color: inherit; text-decoration: none; height: 100%; }
.layers .feature-icon { flex: none; margin: 0; }
.layers a > span:last-child { display: grid; gap: 4px; }
.layers small { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.layers strong { font-size: 1.1rem; }
.layers a > span:last-child > span { color: var(--muted); font-size: 0.92rem; }
.layers li:hover .feature-icon { transform: rotate(-6deg) scale(1.08); }
@media (max-width: 860px) { .layers { grid-template-columns: 1fr; } }
.wire { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(10px, 2vw, 24px); margin: 8px 0 40px; }
.node { display: grid; justify-items: center; gap: 8px; text-align: center; font-weight: 650; font-size: 0.95rem; }
.node .nb { width: clamp(56px, 8vw, 84px); height: clamp(56px, 8vw, 84px); border-radius: 22px; display: grid; place-items: center; }
.node .nb .icon { width: 44%; height: 44%; }
.node .nb.glass, .cable .lock.glass { padding: 0; }
.cable { position: relative; height: 4px; border-radius: 4px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.25)); }
.cable .lock { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; z-index: 2; }
.cable .lock .icon { width: 20px; height: 20px; }
.cable .lbl { position: absolute; left: 50%; top: calc(100% + 28px); transform: translateX(-50%); white-space: nowrap; font-size: 0.85rem; color: rgba(255, 255, 255, 0.85); }
.packet { position: absolute; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px 3px rgba(103, 232, 249, 0.9); animation: packet 2.4s linear infinite; }
.packet.p2 { animation-delay: -0.8s; background: #f9a8d4; box-shadow: 0 0 12px 3px rgba(244, 114, 182, 0.9); }
.packet.p3 { animation-delay: -1.6s; animation-direction: reverse; }
@keyframes packet { from { left: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } to { left: 100%; opacity: 0; } }
.cloud-off { display: flex; justify-content: center; margin-bottom: 18px; }
.cloud-off span { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: 0.85rem; font-weight: 600; background: rgba(255, 255, 255, 0.1); border: 1px dashed rgba(255, 255, 255, 0.4); text-decoration: line-through; text-decoration-thickness: 2px; }

.band { padding: clamp(64px, 6vw, 112px) 0; }
.band .glass h3 { color: #fff; }
.band .actions { margin-top: 32px; }

/* Versione Gratuita */
.free { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
@media (max-width: 860px) { .free { grid-template-columns: 1fr; } }
.free .card h3 { display: flex; gap: 10px; align-items: center; }

/* Download finale */
.cta { text-align: center; }
.cta .section-head { margin-left: auto; margin-right: auto; }
.cta .dl-list, .cta .dl-badge, .cta .dl-foot, .cta .dl-mobile { justify-content: center; }
.cta .dl-mobile { margin-left: auto; margin-right: auto; }
.cta .dl-item { align-items: center; }
.cta-icon { width: 96px; height: 96px; margin: 0 auto 24px; animation: bob 5s ease-in-out infinite; filter: drop-shadow(0 20px 30px rgba(8, 6, 30, 0.5)); }
@keyframes bob { 50% { transform: translateY(-10px) rotate(-3deg); } }

/* Prezzi in arrivo */
.soon { text-align: center; padding: clamp(28px, 5vw, 56px); border-radius: var(--radius-lg); }
.soon h2 { margin-bottom: 0.3em; }
.soon p { max-width: 56ch; margin-left: auto; margin-right: auto; }
.soon-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 8px 18px; border-radius: 999px; font-weight: 700; font-size: 0.9rem; color: #fff;
  background: var(--btn-grad); background-size: 200% auto; animation: shimmer 4s linear infinite;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4);
}

/* ============================================================ 8. Pagine */

.toc-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: 100px; padding: 16px; }
.toc h2 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin: 4px 8px 10px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.toc li { margin: 0; }
.toc a { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 12px; color: var(--text); text-decoration: none; font-weight: 520; transition: background-color 0.2s, transform 0.3s var(--spring); }
.toc a:hover { background: var(--glass-hover); transform: translateX(3px); }
.toc a.is-active { background: var(--btn-grad); color: #fff; }
.toc a.is-active .icon { color: #fff; }
.toc a .icon { color: var(--accent); width: 1.1em; height: 1.1em; }
@media (max-width: 1000px) {
  .toc-layout { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; padding: 0; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .toc ol { display: flex; flex-wrap: wrap; gap: 8px; }
  .toc a { border: 1px solid var(--glass-edge); background: var(--glass); border-radius: 999px; padding: 8px 14px; font-size: 0.95rem; }
}
.fsection + .fsection { margin-top: clamp(72px, 8vw, 120px); padding-top: clamp(40px, 4vw, 56px); border-top: 1px solid var(--border); }
.fsection > header { max-width: 720px; margin-bottom: 28px; }
.fsection > header p { color: var(--muted); font-size: 1.12rem; }
.fsection .shot, .fsection .switcher { margin-bottom: 32px; }
.fsection .card h3 { display: flex; align-items: center; gap: 10px; }
.fsection .card h3 .icon { color: var(--accent); }
.fsection .grid + .grid, .fsection .grid + .reveal, .fsection .grid + .actions { margin-top: 24px; }
.grid + .note, .steps + .note, .free + .note { margin-top: 24px; }
.dl-info { margin-top: clamp(40px, 6vw, 64px); }
.dl-info .note p { margin: 0; }
.faq + .actions { margin-top: 24px; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.plan-price { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; }
.contact-card { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.contact-card p { margin: 0; }

.releases { display: grid; gap: 24px; }
.release-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 12px; }
.release-head h2 { margin: 0; font-size: 1.6rem; }
.release-head time, .release-head > span:last-child { color: var(--muted); font-size: 0.95rem; }

.notfound { min-height: 64vh; display: grid; place-items: center; text-align: center; }
.notfound .code { font-size: clamp(6rem, 4rem + 8vw, 11rem); font-weight: 850; letter-spacing: -0.06em; line-height: 1; margin-bottom: 0.1em; }

@media (max-width: 560px) {
  :root { --gutter: 16px; }
  body { font-size: 1rem; }
  .dl-item, .dl-btn { width: 100%; }
  .actions .btn { flex: 1 1 auto; }
  .shot-label { font-size: 0.72rem; padding: 6px 10px; }
  .header-inner { padding-left: 14px; }
  .demo-widget { display: none; }
}

/* ============================================================ 9. Movimento */

.js .reveal { opacity: 0; transform: translateY(26px) scale(0.98); filter: blur(8px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.is-visible { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
  .marquee-track { width: auto; flex-wrap: wrap; justify-content: center; }
  .marquee-track ul + ul { display: none; }
  .marquee { -webkit-mask: none; mask: none; }
}
@supports (animation-timeline: scroll()) {
  .progress { animation: grow linear both; animation-timeline: scroll(root); }
  @keyframes grow { to { transform: scaleX(1); } }
}

/* Senza backdrop-filter il vetro diventa più coprente, sempre leggibile */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root { --glass: rgba(255, 255, 255, 0.9); --glass-strong: #fff; }
  .aurora .card, .glass { background: rgba(24, 21, 60, 0.9); }
}
@media (prefers-color-scheme: dark) {
  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    :root { --glass: rgba(22, 20, 50, 0.92); --glass-strong: #1c1a40; }
  }
}

@media print {
  .site-header, .site-footer, .nav-toggle, .seg, .dl, .bg, .progress, .demo-wrap, .marquee { display: none !important; }
  .aurora { background: none !important; color: #000; }
}

.grid + p, .steps + p:not(.note) { margin-top: 20px; }

/* Sicurezza: riepilogo e sezioni nel dettaglio */
.sec-table { padding: clamp(16px, 3vw, 28px); overflow-x: auto; }
.sec-summary { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.sec-summary th, .sec-summary td { text-align: left; vertical-align: top; padding: 14px 18px 14px 0; border-top: 1px solid var(--border); }
.sec-summary thead th { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); border-top: 0; padding-top: 0; }
.sec-summary tbody th { font-weight: 650; width: 26%; white-space: nowrap; }
.sec-summary tbody th a { text-decoration: none; }
.sec-summary td { color: var(--muted); }
.sec-details { display: grid; gap: 20px; }
.sec-detail { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); gap: 12px 48px; scroll-margin-top: 110px; }
.sec-detail > header h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); margin-bottom: 0.3em; }
.sec-detail > header p { color: var(--accent); font-weight: 600; }
.sec-detail .bullets li + li { margin-top: 0.6em; }
.sec-detail .shot { margin-top: 24px; }
@media (max-width: 860px) { .sec-detail { grid-template-columns: 1fr; } .sec-summary tbody th { white-space: normal; } }

