/* CedolinoPro — landing statica. Nessun JS, nessun font/CDN esterno, nessuno stile inline (CSP: style-src 'self'). */
:root {
  --navy: #172033;
  --ink: #172033;
  --muted: #566579;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --teal: #0f9488;
  --paper: #f6f8fc;
  --card: #ffffff;
  --line: #dce3ee;
  --soft: #eff6ff;
  --ok-bg: #dff7eb;
  --ok-ink: #0b6b3a;
  --warn-bg: #fff3d7;
  --warn-ink: #765210;
  --mute-bg: #eaeff6;
  --mute-ink: #475569;
  --shadow: 0 10px 28px rgba(16, 37, 63, 0.08);
  --shadow-lg: 0 24px 60px rgba(16, 37, 63, 0.14);
  --radius: 1rem;
  --wrap: 72rem;
}

* { box-sizing: border-box; }
html { min-width: 20rem; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--accent-dark); }
a:focus-visible, .btn:focus-visible { outline: 3px solid #60a5fa; outline-offset: 3px; border-radius: .4rem; }
h1, h2, h3, p { margin-top: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.sr-only { position: absolute; 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: -999px; top: 0; background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: .5rem; top: .5rem; }
.icon { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246, 248, 252, .86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgba(220, 227, 238, .8); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink); font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; text-decoration: none; }
.brand-mark { width: 2.2rem; height: 2.2rem; flex: none; }
.brand small { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); line-height: 1; margin-top: .15rem; }
.nav-links { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: #334155; text-decoration: none; font-size: .92rem; font-weight: 600; padding: .4rem 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: var(--accent-dark); border-bottom-color: var(--accent); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: inherit; font-weight: 700; font-size: .95rem; line-height: 1.2; padding: .8rem 1.35rem; border-radius: .75rem; border: 1px solid var(--accent); background: var(--accent); color: #fff; text-decoration: none; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; box-shadow: 0 6px 16px rgba(37, 99, 235, .25); }
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--line); box-shadow: none; }
.btn-ghost:hover { background: #f1f5f9; border-color: #c4cfde; }
.btn-sm { padding: .55rem 1.05rem; font-size: .88rem; box-shadow: none; white-space: nowrap; }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; box-shadow: none; }
.btn-light:hover { background: #e8efff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); box-shadow: none; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 4.5rem 0 4rem; background:
  radial-gradient(55rem 30rem at 85% -10%, rgba(15, 148, 136, .16), transparent 60%),
  radial-gradient(50rem 28rem at 5% 0%, rgba(37, 99, 235, .15), transparent 60%),
  var(--paper); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 3.5rem; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .85rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: #334155; font-size: .8rem; font-weight: 700; box-shadow: 0 2px 8px rgba(16, 37, 63, .05); margin-bottom: 1.4rem; }
.dot { width: .55rem; height: .55rem; border-radius: 50%; background: #f59e0b; box-shadow: 0 0 0 4px rgba(245, 158, 11, .2); }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; margin-bottom: 1.25rem; }
.grad { background: linear-gradient(100deg, var(--accent), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34rem; margin-bottom: 2rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.fine { font-size: .82rem; color: var(--muted); margin: 1.1rem 0 0; display: flex; align-items: center; gap: .45rem; }
.fine .icon { width: 1rem; height: 1rem; color: var(--teal); }

/* ---------- Product preview ---------- */
.preview { margin: 0; position: relative; }
.preview-card { background: var(--card); border: 1px solid var(--line); border-radius: 1.25rem; box-shadow: var(--shadow-lg); overflow: hidden; }
.preview-bar { display: flex; align-items: center; gap: .5rem; padding: .7rem 1rem; background: #f1f5f9; border-bottom: 1px solid var(--line); }
.preview-bar i { width: .65rem; height: .65rem; border-radius: 50%; background: #cbd5e1; display: block; }
.preview-bar span { margin-left: .5rem; font-size: .72rem; color: var(--muted); font-weight: 600; }
.preview-body { padding: 1.1rem 1.2rem 1.3rem; }
.preview-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .9rem; }
.preview-head strong { font-size: 1rem; }
.preview-head small { display: block; color: var(--muted); font-size: .72rem; }
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .22rem .65rem; border-radius: 999px; font-size: .7rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.chip-ok { background: var(--ok-bg); color: var(--ok-ink); }
.chip-warn { background: var(--warn-bg); color: var(--warn-ink); }
.chip-mute { background: var(--mute-bg); color: var(--mute-ink); }
.tablewrap { overflow-x: auto; }
.mock-table { width: 100%; border-collapse: collapse; font-size: .8rem; min-width: 26rem; }
.mock-table th, .mock-table td { padding: .55rem .5rem; text-align: left; border-bottom: 1px solid #edf1f7; }
.mock-table thead th { font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.mock-table td.num, .mock-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.mock-table tbody th { font-weight: 700; }
.mock-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: 1rem; padding: .65rem; background: #f8fafc; border: 1px solid var(--line); border-radius: .75rem; }
.mock-btn { padding: .4rem .8rem; border-radius: .55rem; font-size: .75rem; font-weight: 700; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.mock-btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.float-note { position: absolute; display: flex; align-items: center; gap: .55rem; background: #fff; border: 1px solid var(--line); border-radius: .85rem; padding: .6rem .85rem; box-shadow: var(--shadow); font-size: .78rem; font-weight: 700; }
.float-note .icon { width: 1.15rem; height: 1.15rem; color: var(--teal); }
.float-b { right: 1.5rem; top: -1.15rem; }
.preview figcaption { margin-top: 1rem; text-align: center; font-size: .78rem; color: var(--muted); }

/* ---------- Proof strip ---------- */
.proof { background: var(--navy); color: #e2e8f0; }
.proof-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; padding: 1.9rem 0; list-style: none; margin: 0 auto; }
.proof-grid li { display: flex; gap: .8rem; align-items: flex-start; font-size: .9rem; line-height: 1.4; }
.proof-grid .icon { color: #5eead4; margin-top: .1rem; }
.proof-grid strong { display: block; color: #fff; font-size: .98rem; }

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 42rem; margin-bottom: 2.75rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { margin-bottom: .6rem; color: var(--accent-dark); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.section h2 { font-size: clamp(1.7rem, 3.2vw, 2.35rem); line-height: 1.15; letter-spacing: -.02em; font-weight: 800; margin-bottom: .9rem; }
.section-head p { color: var(--muted); font-size: 1.06rem; margin-bottom: 0; }

.legend { display: flex; flex-wrap: wrap; gap: .6rem 1.25rem; align-items: center; margin: -1.25rem 0 2rem; font-size: .84rem; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: .5rem; }

.cards { display: grid; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: 0 1px 2px rgba(16, 37, 63, .04); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c4d3ea; }
.card-icon { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: .85rem; background: var(--soft); color: var(--accent-dark); margin-bottom: 1.1rem; }
.card-icon.teal { background: #e0f5f2; color: #0b7a70; }
.card h3 { font-size: 1.08rem; margin-bottom: .5rem; letter-spacing: -.01em; }
.card p { color: var(--muted); font-size: .93rem; margin-bottom: 1rem; }
.card .chip { align-self: flex-start; margin-top: auto; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem 1.5rem 1.5rem; }
.step-n { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--teal)); color: #fff; font-weight: 800; font-size: 1rem; margin-bottom: 1rem; }
.step h3 { font-size: 1.12rem; margin-bottom: .5rem; }
.step p { color: var(--muted); font-size: .94rem; margin-bottom: 0; }

/* ---------- Security ---------- */
.security-note { margin-top: 1.75rem; display: flex; gap: .85rem; align-items: flex-start; padding: 1.1rem 1.25rem; background: var(--soft); border: 1px solid #cfe0fb; border-radius: var(--radius); color: #1e3a6b; font-size: .94rem; }
.security-note .icon { color: var(--accent-dark); margin-top: .15rem; }
.security-note p { margin: 0; }

/* ---------- Audience ---------- */
.audience .card h3 { margin-bottom: .35rem; }
.audience .role { margin: 0 0 .8rem; font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-dark); }
.audience ul { margin: 0; padding-left: 1.1rem; color: var(--muted); font-size: .92rem; }
.audience li { margin-bottom: .35rem; }

/* ---------- Status ---------- */
.status-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.status-col { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.status-col h3 { display: flex; align-items: center; gap: .6rem; font-size: 1rem; margin-bottom: 1rem; }
.status-col ul { margin: 0; padding-left: 1.1rem; color: var(--muted); font-size: .92rem; }
.status-col li { margin-bottom: .4rem; }
.honesty { margin-top: 1.75rem; padding: 1.1rem 1.25rem; background: var(--warn-bg); border: 1px solid #f2dc9f; border-radius: var(--radius); color: var(--warn-ink); font-size: .93rem; }
.honesty p { margin: 0; }

/* ---------- Final CTA ---------- */
.cta-final { padding: 0 0 5rem; }
.cta-box { position: relative; overflow: hidden; background: linear-gradient(120deg, #172033 0%, #1e3a8a 55%, #0f766e 120%); color: #fff; border-radius: 1.5rem; padding: 3.5rem 2.5rem; text-align: center; box-shadow: var(--shadow-lg); }
.cta-box h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.02em; margin-bottom: .8rem; }
.cta-box p { color: #cbd5e1; max-width: 36rem; margin: 0 auto 1.75rem; font-size: 1.05rem; }
.cta-box .cta-row { justify-content: center; }
.cta-box a:not(.btn) { color: #bfdbfe; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #fff; padding: 2.25rem 0; color: var(--muted); font-size: .86rem; }
.footer-row { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; align-items: center; justify-content: space-between; }
.footer-row p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 64rem) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
  .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 48rem) {
  .nav-links { display: none; }
  .hero { padding: 3rem 0 3rem; }
  .section { padding: 3.5rem 0; }
  .cards-3, .steps, .status-grid { grid-template-columns: minmax(0, 1fr); }
  .float-note { display: none; }
  .cta-box { padding: 2.5rem 1.25rem; }
}
@media (max-width: 36rem) {
  .cards-4, .proof-grid { grid-template-columns: minmax(0, 1fr); }
  .brand small { display: none; }
  .cta-row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
  .btn:hover, .card:hover { transform: none; }
}
@media print {
  .site-header, .cta-final { display: none; }
  .section { padding: 1.5rem 0; }
}
