/* callshield.it – direzione grafica A "Chiaro e affidabile": bianco e blu, scudo con spunta, Manrope. */

@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --blue: #1D4ED8;
  --blue-dark: #1E3A8A;
  --blue-soft: #EEF2FF;
  --ink: #0F172A;
  --text: #334155;
  --muted: #475569;
  --faint: #64748B;
  --line: #E2E8F0;
  --line-strong: #CBD5E1;
  --bg: #FFFFFF;
  --bg-soft: #F8FAFC;
  --green: #166534;
  --green-dot: #16A34A;
  --red: #B91C1C;
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
img, svg { display: block; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--bg); padding: 8px 12px; z-index: 10; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* Testata */
.top { padding: 22px 0; }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand span { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; font-weight: 600; }
.nav a { color: var(--text); text-decoration: none; }
.nav a:hover { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 12px 22px; border-radius: 12px; font: inherit; font-weight: 700; font-size: 16px;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--blue); color: #FFFFFF; }
.btn-primary:hover { background: var(--blue-dark); color: #FFFFFF; }
.btn-ghost { color: var(--ink); border-color: var(--line-strong); background: var(--bg); }
.btn-ghost:hover { color: var(--ink); border-color: var(--faint); }
.nav .btn { min-height: 44px; padding: 10px 18px; font-size: 15px; color: #FFFFFF; }

/* Apertura */
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; padding-top: 48px; padding-bottom: 88px; }
.hero-text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.pill { align-self: flex-start; background: var(--blue-soft); color: var(--blue-dark); font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 999px; }
.hero h1 { font-size: clamp(40px, 6vw, 60px); line-height: 1.05; font-weight: 800; letter-spacing: -0.03em; }
.lead { font-size: 20px; line-height: 1.55; color: var(--muted); max-width: 560px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.note { font-size: 14px; color: var(--faint); }

.phone { flex: 0 1 340px; margin: 0 auto; width: 100%; max-width: 340px; border-radius: 48px; background: var(--ink); padding: 14px; }
.screen { border-radius: 36px; background: #F1F5F9; padding: 28px 18px; display: flex; flex-direction: column; gap: 14px; min-height: 560px; }
.screen-title { font-size: 13px; font-weight: 700; color: var(--muted); text-align: center; }
.card { background: #FFFFFF; border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08); }
.verdict { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--green); }
.verdict::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--green-dot); }
.card strong { font-size: 18px; font-weight: 800; }
.card p { font-size: 14px; line-height: 1.5; color: var(--text); }
.keys { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.keys span { background: #FFFFFF; border-radius: 14px; padding: 14px 8px; text-align: center; font-weight: 700; font-size: 14px; }
.keys span:first-child { background: var(--blue); color: #FFFFFF; }
.log { margin-top: auto; background: #FFFFFF; border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.log div { display: flex; justify-content: space-between; gap: 12px; }
.log .head { font-size: 12px; font-weight: 700; color: var(--faint); }
.ok { color: var(--green); font-weight: 700; }
.ko { color: var(--red); font-weight: 700; }

/* Sezioni */
section { scroll-margin-top: 16px; }
.band { padding: 88px 0; }
.band.soft { background: var(--bg-soft); }
.band h2 { font-size: clamp(30px, 4vw, 40px); font-weight: 800; }
.band .intro { margin-top: 12px; font-size: 18px; color: var(--muted); max-width: 720px; }
.grid { margin-top: 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.box { background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.box .n { font-size: 14px; font-weight: 800; color: var(--blue); }
.box h3 { font-size: 21px; font-weight: 800; }
.box p { font-size: 16px; color: var(--muted); }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; align-items: start; }
.steps { margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 18px; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.steps b { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--blue-soft); color: var(--blue-dark); font-weight: 800; }
.steps p { color: var(--muted); padding-top: 7px; }
.steps strong { color: var(--ink); }

.devices { margin-top: 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.devices .box ul { margin: 0; padding-left: 20px; color: var(--muted); font-size: 16px; display: flex; flex-direction: column; gap: 8px; }

/* Domande */
.faq { margin-top: 36px; display: flex; flex-direction: column; gap: 12px; max-width: 860px; }
.faq details { background: #FFFFFF; border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; padding: 20px 28px 20px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 16px; font-size: 24px; color: var(--blue); font-weight: 600; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; color: var(--muted); font-size: 16px; }

/* Lista d'attesa */
.signup { background: var(--ink); color: #FFFFFF; border-radius: 28px; padding: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.signup h2 { color: #FFFFFF; }
.signup .intro { color: #CBD5E1; }
form { display: flex; flex-direction: column; gap: 16px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 700; color: #E2E8F0; }
label small { font-weight: 500; color: #94A3B8; }
input[type="text"], input[type="email"], select {
  font: inherit; font-size: 16px; min-height: 48px; padding: 10px 14px; border-radius: 12px;
  border: 1.5px solid #334155; background: #1E293B; color: #FFFFFF; width: 100%;
}
input::placeholder { color: #94A3B8; }
input:focus, select:focus { border-color: #93C5FD; outline: none; box-shadow: 0 0 0 3px rgba(147, 197, 253, 0.35); }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.check { flex-direction: row; align-items: flex-start; gap: 12px; font-weight: 500; color: #CBD5E1; font-size: 14px; line-height: 1.5; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--blue); }
.check a { color: #93C5FD; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.signup .btn-primary { background: #FFFFFF; color: var(--ink); align-self: flex-start; }
.signup .btn-primary:hover { background: var(--blue-soft); color: var(--ink); }
.status { min-height: 1.6em; font-size: 15px; font-weight: 600; }
.status.ok { color: #86EFAC; }
.status.err { color: #FCA5A5; }

/* Pagine di testo (privacy, grazie) */
.doc { max-width: 760px; padding-top: 24px; padding-bottom: 88px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); font-weight: 800; margin-bottom: 16px; }
.doc h2 { font-size: 22px; font-weight: 800; margin: 36px 0 10px; }
.doc p, .doc li { color: var(--text); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.todo { background: #FEF3C7; color: #78350F; padding: 0 4px; border-radius: 4px; }

/* Piede */
.foot { border-top: 1px solid var(--line); }
.foot .wrap { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 14px; color: var(--faint); }
.foot nav { display: flex; flex-wrap: wrap; gap: 20px; }
.foot a { color: var(--muted); }

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hero .wrap { gap: 40px; padding-top: 24px; padding-bottom: 56px; }
  .band { padding: 56px 0; }
  .signup { padding: 28px 20px; border-radius: 20px; }
  .nav { gap: 8px 18px; }
  .lead { font-size: 18px; }
}
