
:root{
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;

  /* scala tipografica richiesta */
  --fs-48: 48px;
  --fs-36: 36px;
  --fs-18: 18px;
  --fs-16: 16px;
}

html { font-size: 100%; }
body {
  font-family: var(--font-sans);
  font-size: var(--fs-16);
  line-height: 1.55;
  color: var(--ks-text, #2C3E50);
}

/* Titoli principali */
.ks-title { font-family: var(--font-sans); font-weight: 800; font-size: var(--fs-48); line-height: 1.2; }
.ks-h2    { font-family: var(--font-sans); font-weight: 800; font-size: var(--fs-36); line-height: 1.25; }

/* Testi a 18 e 16 */
.ks-subtitle, .ks-lead, .ks-card-title { font-size: var(--fs-18); }
.ks-card-text, .ks-p, .ks-list li { font-size: var(--fs-16); }





/* ========== TOKENS ========== */
:root{
  --ks-bg-hero-start:#B3D9FF;
  --ks-bg-hero-end:#E6F3FF;
  --ks-text:#2C3E50;
  --ks-text-muted:#7F8C8D;
  --ks-primary:#4A90E2;
  --ks-card-border:#EEF2F5;
  --ks-shadow:0 10px 26px rgba(0,0,0,.06);
}

/* Helpers */
.text-center{text-align:center}

/* Container */
.ks-container{max-width:1100px;margin-inline:auto;padding-inline:24px}

/* ========== HERO ========== */
.ks-hero{
  padding:64px 0 56px;
  background: -webkit-gradient(linear,left top, right top,from(var(--ks-bg-hero-start)),to(var(--ks-bg-hero-end)));
  background: linear-gradient(90deg,var(--ks-bg-hero-start),var(--ks-bg-hero-end));
}
.ks-logo-tile{
  width:112px;height:112px;margin:0 auto 16px;border-radius:20px;background:#fff;
  display:grid;place-items:center;-webkit-box-shadow:0 10px 24px rgba(0,0,0,.12);box-shadow:0 10px 24px rgba(0,0,0,.12);
}
.ks-title{font:800 40px/1.2 Inter,system-ui,sans-serif;color:var(--ks-text);margin:12px 0 8px}
.ks-subtitle{font:700 22px/1.35 Inter,sans-serif;color:var(--ks-text);margin:0 0 8px}
.ks-lead{max-width:760px;margin:0 auto 20px;color:var(--ks-text-muted)}
.ks-btn{
  display:inline-block;padding:12px 22px;border-radius:10px;background:var(--ks-primary);color:#fff;text-decoration:none;
  -webkit-box-shadow:0 8px 16px rgba(74,144,226,.35);
          box-shadow:0 8px 16px rgba(74,144,226,.35);-webkit-transition:.08s transform,.12s box-shadow;transition:.08s transform,.12s box-shadow;
}
.ks-btn:hover{-webkit-transform:translateY(-1px);transform:translateY(-1px);-webkit-box-shadow:0 10px 22px rgba(74,144,226,.42);box-shadow:0 10px 22px rgba(74,144,226,.42)}
.ks-hero-illust{display:block;margin:28px auto 0;max-width:960px}

/* ========== FEATURES ========== */
.ks-features{padding:56px 0;background:#fff}
.ks-h2{font:800 36px/1.2 Inter,sans-serif;color:var(--ks-text);margin:0 0 8px}
.ks-muted{color:var(--ks-text-muted);margin:0 0 28px}
.ks-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:12px}
.ks-card{
  background:#fff;border-radius:16px;padding:22px;border:1px solid var(--ks-card-border);-webkit-box-shadow:var(--ks-shadow);box-shadow:var(--ks-shadow)
}
.ks-ico{
  width:44px;height:44px;border-radius:12px;background:-webkit-gradient(linear,left top, left bottom,from(#E7F1FF),to(#CFE4FF));background:linear-gradient(180deg,#E7F1FF,#CFE4FF);
  display:grid;place-items:center;margin-bottom:12px
}
.ks-card-title{font:700 20px/1.25 Inter,sans-serif;color:var(--ks-text);margin:4px 0 6px}
.ks-card-text{color:var(--ks-text-muted);margin:0}

/* ========== TWO-COL SECTIONS ========== */
.ks-section{padding:64px 0;background:#fff}
.ks-section.alt{background:#F8FAFD}
.ks-two-col{display:grid;grid-template-columns:1.1fr .9fr;gap:32px;-webkit-box-align:center;-ms-flex-align:center;align-items:center}
.ks-section .ks-p{color:var(--ks-text-muted);margin:6px 0 16px}
.ks-list{padding-left:16px;margin:0}
.ks-list li{color:var(--ks-text-muted);margin:6px 0}
.ks-img{width:100%;height:auto;border-radius:16px}
.shadow{-webkit-box-shadow:var(--ks-shadow);box-shadow:var(--ks-shadow)}
.ks-contact .ks-p a{color:var(--ks-primary);text-decoration:none}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px){
  .ks-grid{grid-template-columns:1fr 1fr}
  .ks-two-col{grid-template-columns:1fr;gap:20px}
}
@media (max-width: 640px){
  .ks-title{font-size:32px}
  .ks-subtitle{font-size:18px}
  .ks-grid{grid-template-columns:1fr}

  @media (max-width: 640px){
  .ks-title { font-size: 36px; }
  .ks-h2    { font-size: 28px; }
  .ks-subtitle, .ks-lead { font-size: 16px; }
}

}
/* === Bullet "flag" verde con spunta === */
:root{
  --ks-success:#2db318; /* colore del flag (puoi cambiare) */
}

.ks-list{list-style:none;padding-left:0;margin:0}
.ks-list.ks-list--check li{
  position:relative;
  padding-left:34px;         /* spazio per il flag */
  margin:10px 0;
  color:var(--ks-text-muted); /* testo come nel resto della pagina */
}

/* Bullet "flag" verde allineato */
.ks-list{list-style:none;margin:0;padding:0}

.ks-list.ks-list--check li{
  display:grid;
  grid-template-columns:24px 1fr;  /* 1a colonna icona, 2a testo */
  -webkit-column-gap:12px;
     -moz-column-gap:12px;
          column-gap:12px;
  -webkit-box-align:start;
      -ms-flex-align:start;
          align-items:start;               /* top-aligned (usa center se li vuoi centrati) */
  margin:12px 0;
  line-height:1.5;
}

/* icona: niente position absolute */
.ks-list.ks-list--check li::before{
  content:"";
  width:20px;height:20px;border-radius:4px;
  background-color:var(--ks-success);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath d='M1 5l3.5 3.5L13 1' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:center;background-size:14px 10px;
  -webkit-box-shadow:inset 0 1px 0 rgba(0,0,0,.08);
          box-shadow:inset 0 1px 0 rgba(0,0,0,.08);
}

/* --- Colore per i check rossi --- */
:root{
  --ks-danger: #4269f5; /* regola qui se vuoi un rosso diverso */
}

/* allineamento verticale centrato per questa lista */
.ks-list.ks-list--check.ks-check-center li{ -webkit-box-align: center; -ms-flex-align: center; align-items: center; }

/* variante "rosso" del check */
.ks-list.ks-list--check-red li::before{
  width:20px; height:20px; border-radius:9999px;
  background-color: var(--ks-danger);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath d='M1 5l3.5 3.5L13 1' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:center; background-size:14px 10px;
  -webkit-box-shadow: inset 0 1px 0 rgba(0,0,0,.06);
          box-shadow: inset 0 1px 0 rgba(0,0,0,.06);
}

/* piccoli ritocchi tipografici della sezione */
.ks-orders .ks-h2{ margin-bottom: 8px; }
.ks-orders .ks-p { color: var(--ks-text-muted); margin-bottom: 18px; }


/* ====== CONTACT CARD ====== */
.ks-contact-card{
  padding:72px 0;               /* aria attorno */
  background:#fff;              /* o #F7FAFD se vuoi molto chiaro */
}
.ks-contact-card__inner{
  max-width:980px;
  margin:0 auto;
  padding:56px 28px;
  background:#F7FAFD;
  border-radius:24px;
  -webkit-box-shadow:0 24px 60px rgba(0,0,0,.08);
          box-shadow:0 24px 60px rgba(0,0,0,.08);
}

/* tile icona grande */
.ks-ico-tile--xl{
  width:96px; height:96px; border-radius:20px;
  margin:0 auto 14px;
  display:grid; place-items:center;
  background:-webkit-gradient(linear,left top, left bottom,from(#E7F1FF),to(#CFE4FF));
  background:linear-gradient(180deg,#E7F1FF,#CFE4FF);
  -webkit-box-shadow:0 10px 24px rgba(0,0,0,.10);
          box-shadow:0 10px 24px rgba(0,0,0,.10);
}

/* testo sotto il titolo */
.ks-contact-sub{
  max-width:780px;
  margin:8px auto 22px;
  color:var(--ks-text-muted);
  font-size:var(--fs-18,18px);
}

/* box con etichetta + email */
.ks-contact-box{
  max-width:840px;
  margin:0 auto;
  background:#F1F5FA;          /* pannello chiaro */
  border-radius:18px;
  padding:22px 26px;
  display:grid;
  justify-items:center;
  row-gap:6px;
}

.ks-contact-box__label{
  display:-webkit-inline-box;
  display:-ms-inline-flexbox;
  display:inline-flex;
  -webkit-box-align:center;
      -ms-flex-align:center;
          align-items:center;
  gap:10px;
  color:var(--ks-text);         /* etichetta scura */
  font-weight:600;
}

.ks-contact-email{
  font-size:24px;
  font-weight:800;
  color:var(--ks-primary);
  text-decoration:none;
}
.ks-contact-email:hover{ text-decoration:underline }

/* responsive */
@media (max-width:640px){
  .ks-contact-card__inner{ padding:40px 20px }
  .ks-contact-email{ font-size:20px }
}

/* ===== FAQ accordion ===== */
.ks-faq{ padding:72px 0; background:#F6F9FC; }

.ks-faq-sub{
  max-width:820px; margin:8px auto 28px;
  color:var(--ks-text-muted); font-size:var(--fs-16);
}

/* contenitore */
.ks-faq-list{ display:grid; gap:22px; }

/* card */
.ks-faq-item{
  background:#fff; border-radius:18px;
  -webkit-box-shadow:0 18px 40px rgba(0,0,0,.08);
          box-shadow:0 18px 40px rgba(0,0,0,.08);
  overflow:hidden;               /* bordi arrotondati anche su summary */
}

/* rimuovi marker nativo del summary */
.ks-faq-item summary::-webkit-details-marker{ display:none; }

/* domanda */
.ks-faq-q{
  list-style:none;
  cursor:pointer;
  margin:0; padding:22px 26px;
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex; -webkit-box-align:center; -ms-flex-align:center; align-items:center; gap:12px;
  font-weight:800; font-size:24px; line-height:1.35; /* qui la 24px */
  color:var(--ks-text);
  position:relative;
}

/* chevron a destra (SVG inline), ruota quando open */
.ks-faq-item summary::after{
  content:"";
  margin-left:auto;
  width:20px; height:20px; -webkit-box-flex:0; -ms-flex:none; flex:none;
  background-repeat:no-repeat; background-position:center; background-size:18px 18px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%2390A4AE' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-transition:-webkit-transform .2s ease;
  transition:-webkit-transform .2s ease;
  transition:transform .2s ease;
  transition:transform .2s ease, -webkit-transform .2s ease;
}
.ks-faq-item[open] summary::after{ -webkit-transform:rotate(180deg); transform:rotate(180deg); }

/* risposta */
.ks-faq-a{
  padding:0 26px 22px 26px;
  color:var(--ks-text-muted);
  font-size:var(--fs-16);
  line-height:1.6;
  border-top:1px solid rgba(0,0,0,.06);
}

/* focus accessibile su summary (tastiera) */
.ks-faq-item summary:focus{ outline: none; }
.ks-faq-item summary:focus-visible{
  -webkit-box-shadow: inset 0 0 0 3px rgba(74,144,226,.35);
          box-shadow: inset 0 0 0 3px rgba(74,144,226,.35);
  border-radius:12px;
}

/* responsive */
@media (max-width:640px){
  .ks-faq{ padding:56px 0 }
  .ks-faq-q{ font-size:20px; padding:18px 20px }
  .ks-faq-a{ padding:0 20px 18px 20px }
}

/* ===== Footer ===== */
.ks-footer{
  background:#fff;
  text-align:center;
  padding:28px 0 48px;      /* aria sopra/sotto */
}

.ks-footer-tagline{
  margin:0 0 8px;
  color:var(--ks-text-muted); /* grigio discreto */
  font-size:14px;             /* leggermente più piccolo del body */
}

.ks-footer-links a{
  color:var(--ks-primary);
  text-decoration:none;
  font-weight:500;
}
.ks-footer-links a:hover{ text-decoration:underline; }

.ks-footer-links .sep{
  margin:0 12px;
  color:rgba(0,0,0,.28);
}
/* === Feature cards / icone === */
:root{
  --ks-primary:#4A90E2;        /* azzurro brand */
  --ks-ink:#1f3345;            /* titoli */
  --ks-text:#6b7b8b;           /* paragrafi */
  --ks-card:#fff;
  --ks-badge-grad: linear-gradient(180deg,#EAF2FF 0%,#F6F9FF 100%);
}

.ks-feature-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:28px;
}

.ks-feature{
  background:var(--ks-card);
  border-radius:24px;
  padding:28px;
  -webkit-box-shadow:0 18px 55px rgba(20,44,86,.08);
          box-shadow:0 18px 55px rgba(20,44,86,.08);
}

.ks-feature h3{
  font-size:1.625rem;          /* ~26px */
  line-height:1.15;
  color:var(--ks-ink);
  margin:14px 0 10px;
  font-weight:800;
}

.ks-feature p{
  color:var(--ks-text);
  font-size:1.125rem;          /* 18px */
  line-height:1.6;
  margin:0;
}

/* badge dell’icona */
.ks-badge{
  width:56px; height:56px;
  border-radius:14px;
  background:var(--ks-badge-grad);
  display:grid; place-items:center;
  -webkit-box-shadow:inset 0 0 0 1px rgba(70,116,184,.15), 0 10px 20px rgba(10,60,140,.06);
          box-shadow:inset 0 0 0 1px rgba(70,116,184,.15), 0 10px 20px rgba(10,60,140,.06);
}

/* icone SVG */
.ks-icon{
  width:28px; height:28px;
  color:var(--ks-primary);             /* stroke corrente */
  stroke:currentColor; fill:none;
  stroke-width:2;
  stroke-linecap:round; stroke-linejoin:round;
  vector-effect:non-scaling-stroke;    /* nitide su Safari/Chrome */
  shape-rendering:geometricPrecision;
}
/* === Icone feature (badge + svg) === */
:root{
  --ks-primary:#4A90E2;
  --ks-badge-grad: linear-gradient(180deg,#EAF2FF 0%,#F6F9FF 100%);
}

.ks-ico{
  width:56px; height:56px;
  border-radius:14px;
  background:var(--ks-badge-grad);
  display:grid; place-items:center;
  -webkit-box-shadow:
    inset 0 0 0 1px rgba(70,116,184,.15),
    0 10px 20px rgba(10,60,140,.06);
          box-shadow:
    inset 0 0 0 1px rgba(70,116,184,.15),
    0 10px 20px rgba(10,60,140,.06);
  margin-bottom:12px;
}

/* SVG sempre nitidi su Safari/Chrome + colore brand */
.ks-icon{
  width:28px; height:28px;
  color:var(--ks-primary);
  stroke:currentColor; fill:none;
  stroke-width:2;
  stroke-linecap:round; stroke-linejoin:round;
  vector-effect: non-scaling-stroke;      /* mantiene lo spessore a qualsiasi zoom */
  shape-rendering: geometricPrecision;     /* migliora l’antialias */
}
:root{ --ks-primary:#4A90E2; }

.ks-ico{ width:56px;height:56px;border-radius:14px;
  display:grid;place-items:center;
  background:-webkit-gradient(linear,left top, left bottom,from(#EAF2FF),to(#F6F9FF));
  background:linear-gradient(180deg,#EAF2FF 0%,#F6F9FF 100%);
  -webkit-box-shadow:inset 0 0 0 1px rgba(70,116,184,.15), 0 10px 20px rgba(10,60,140,.06);
          box-shadow:inset 0 0 0 1px rgba(70,116,184,.15), 0 10px 20px rgba(10,60,140,.06);
}

.ks-icon{
  width:28px;height:28px;
  color:var(--ks-primary);
  stroke:currentColor !important;
  fill:none !important;
  stroke-width:2;
  stroke-linecap:round;stroke-linejoin:round;
  vector-effect:non-scaling-stroke;
}
