:root {
  --bg:#0f1115; --card:#141821; --muted:#9aa3b2; --text:#eaf0ff;
  --accent:#62d0ff; --accent-2:#9a8cff;
  --radius:16px; --shadow:0 10px 30px rgba(0,0,0,.35); --max:960px;
}

* { box-sizing:border-box }
html,body { height:100% }
body {
  margin:0;
  font:16px/1.6 system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial,sans-serif;
  color:var(--text);
  background:radial-gradient(1200px 700px at 80% -10%, #1a2030 0%, #0f1115 60%) no-repeat, var(--bg);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

a { color:var(--accent); text-decoration:none }
a:hover { text-decoration:underline }

.wrap { max-width:var(--max); margin-inline:auto; padding:32px 20px }

header { padding:28px 0 8px }
.brand { display:flex; align-items:center; gap:12px; color:var(--muted); font-weight:600; letter-spacing:.2px }
.logo { width:28px; height:28px; border-radius:8px; background:linear-gradient(135deg,var(--accent),var(--accent-2)); box-shadow:0 6px 18px rgba(146,180,255,.25) }

.hero {
  margin-top:18px;
  padding:28px;
  border-radius:var(--radius);
  background:linear-gradient(180deg, rgba(146,180,255,.06), transparent 70%), var(--card);
  box-shadow:var(--shadow);
}
.eyebrow {
  display:inline-block; padding:6px 10px; border-radius:999px;
  font-size:12px; letter-spacing:.4px; text-transform:uppercase;
  background:rgba(146,180,255,.12); color:var(--muted)
}
h1 { margin:14px 0 10px; font-size:clamp(28px,4vw,40px); line-height:1.15 }
.lead { color:var(--muted); max-width:66ch }

.grid { display:grid; gap:18px; grid-template-columns:1fr; margin-top:24px }
@media (min-width:860px) { .grid { grid-template-columns:1fr 1fr } }

.card {
  background:var(--card);
  border:1px solid rgba(146,180,255,.12);
  border-radius:var(--radius);
  padding:22px;
  box-shadow:var(--shadow);
}
.card h2 { margin:0 0 8px; font-size:20px }
.card p { margin:0 0 10px; color:var(--muted) }
.card ul { margin:8px 0 0 18px; padding:0 }
.card li { margin:6px 0; color:var(--muted) }

.formbox {
  background:linear-gradient(180deg,rgba(0,0,0,.1),rgba(0,0,0,0)) , var(--card);
  border:1px solid rgba(146,180,255,.18);
  border-radius:var(--radius);
  padding:22px;
  box-shadow:var(--shadow);
}
.formbox h2 { margin:0 0 6px; font-size:20px }
.note { font-size:13px; color:var(--muted) }

.cta {
  display:inline-block; margin-top:14px; padding:12px 16px;
  border-radius:12px; font-weight:600; letter-spacing:.2px;
  background:linear-gradient(135deg,var(--accent),var(--accent-2));
  color:#0b0f16; border:none; cursor:pointer;
  box-shadow:0 10px 24px rgba(98,208,255,.35), inset 0 0 0 1px rgba(255,255,255,.3);
}
.cta:hover { filter:saturate(1.1) brightness(1.02) }

footer { margin:30px 0 20px; color:var(--muted); font-size:13px }
.tiny { font-size:12px; color:var(--muted) }

.embed-placeholder {
  min-height:280px; display:grid; place-items:center;
  border:1px dashed rgba(146,180,255,.28);
  border-radius:12px; color:var(--muted)
}
/* === Opt-in systeme.io — stile coerente con la pagina === */
.sio-form { width: 100%; }
.sio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 860px) {
  .sio-grid { grid-template-columns: 1fr 1fr; }
  .sio-span-2 { grid-column: span 2; }
}
.sio-field { display: flex; flex-direction: column; }
.sio-label {
  font-size: 13px; color: var(--muted);
  margin: 2px 0 6px;
}
.sio-input {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(146,180,255,.22);
  background: #111622;
  color: var(--text);
  outline: none;
  transition: box-shadow .15s ease, border-color .15s ease;
}
.sio-input::placeholder { color: rgba(234,240,255,.55); }
.sio-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(98,208,255,.18);
}
.sio-actions { margin-top: 14px; display: flex; justify-content: flex-start; }
.sio-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}
.sio-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
  margin-top: 12px; /* aggiunge spazio sopra il blocco */
}

.sio-consent a {
  color: var(--accent);
  text-decoration: underline;
}

.bio-card {
  margin-top: 40px;
  background: var(--card);
  border: 1px solid rgba(146,180,255,.12);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-start;
  gap: 22px;
}

.bio-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
  flex-shrink: 0;
}

.bio-text h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.bio-text p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.55;
  font-size: 15px;
}

@media (max-width: 640px) {
  .bio-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .bio-text h2 {
    margin-top: 10px;
  }
}
