:root{--navy:#0f2e3b;--mint:#3dd7ac;--ink:#15313e;--muted:#526d78;--soft:#eef7f3;color:var(--ink);background:#f8faf9;font:16px/1.65 system-ui,-apple-system,"Segoe UI",Arial,sans-serif}*{box-sizing:border-box}body{margin:0}a{color:inherit}button,input,textarea,select{font:inherit}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #129a7a;outline-offset:3px}.container{width:min(1100px,calc(100% - 36px));margin:auto}.skip{position:absolute;left:-9999px}.skip:focus{left:12px;top:12px;z-index:11;background:white;padding:12px}.header,.footer{background:var(--navy);color:white}.navbar{min-height:80px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{font-size:1.23rem;font-weight:900;letter-spacing:.03em;text-decoration:none;display:flex;align-items:center;gap:11px;line-height:1.15}.brand .symbol{width:39px;height:39px;background:var(--mint);color:var(--navy);display:grid;place-items:center;border-radius:12px;font-size:1.7rem}.brand small{display:block;font-weight:450;letter-spacing:0;color:#c8e1e3;font-size:.62rem;margin-top:4px}.mint{color:var(--mint)}.navlinks{display:flex;gap:30px}.navlinks a,.mobile-nav a{text-decoration:none;font-weight:650}.navlinks a:hover,.mobile-nav a:hover{text-decoration:underline}.menu-btn{display:none;background:transparent;border:1px solid #8095a0;color:white;padding:8px 13px;border-radius:9px}.mobile-nav{padding:12px 24px 24px}.mobile-nav a{display:block;padding:7px 0}.mobile-nav[hidden]{display:none}.eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:.75rem;color:#139d7e;font-weight:850}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(2.4rem,5vw,4.45rem);line-height:1.1;letter-spacing:-.055em;margin:16px 0 24px}h2{font-size:clamp(1.7rem,3.5vw,2.55rem);line-height:1.18;letter-spacing:-.035em}h3{line-height:1.28}.hero,.page-hero{background:radial-gradient(circle at 85% 40%,#1a5162 0,transparent 49%),var(--navy);color:#fff}.hero{padding:92px 0 100px}.page-hero{padding:66px 0}.hero .eyebrow,.page-hero .eyebrow{color:#7deac8}.hero-grid{display:grid;grid-template-columns:1.18fr .82fr;gap:48px;align-items:center}.hero em{color:var(--mint);font-style:normal}.lead{max-width:610px;color:#d6e6e8;font-size:1.1rem}.hero-actions,.actions{display:flex;gap:12px;flex-wrap:wrap;margin:28px 0}.btn{background:var(--navy);color:#fff;border:none;border-radius:10px;padding:13px 19px;text-decoration:none;font-weight:780;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.btn-primary{color:#073d33;background:var(--mint)}.btn-ghost{background:transparent;border:1px solid #7997a3}.btn-light{background:#e7f7f1;color:var(--navy);border:1px solid #bdcfcb}.trust{color:#b8d4d6;display:flex;gap:9px 18px;flex-wrap:wrap;font-size:.85rem}.phone{width:min(100%,315px);min-height:365px;background:white;color:var(--navy);border:8px solid #244757;border-radius:29px;padding:22px 19px;transform:rotate(4deg);margin:auto;box-shadow:0 25px 50px #0006}.phone small{color:#0da784;font-weight:850}.phone h3{font-size:1.5rem;margin:40px 0 8px}.phone p{font-size:.85rem;color:#59727b}.ph-row{border-bottom:1px solid #e1ebeb;padding:11px 2px;display:flex;justify-content:space-between}.ph-row b{color:#079b80}.section{padding:78px 0}.cards,.features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.card,.feature,.panel,.article{background:white;border:1px solid #dfeae7;border-radius:17px;padding:26px}.card{text-decoration:none;display:flex;flex-direction:column;min-height:218px}.card:hover{box-shadow:0 10px 30px #153d4515;transform:translateY(-2px)}.card small{font-weight:900;color:#118d75;text-transform:uppercase}.card p,.feature p{color:var(--muted);font-size:.94rem}.card span:last-child{margin-top:auto;font-size:.85rem;color:#53717d;font-weight:800}.feature b{color:#159e7e;font-size:.85rem}.feature h3{font-size:1.2rem;margin:12px 0}.dark-band{background:var(--navy);padding:75px 0;color:white}.dark-band p{max-width:660px;color:#d2e4e5}.dark-band .eyebrow{color:#7ee5c9}.soft{background:var(--soft)}.split{display:grid;grid-template-columns:1fr 1fr;gap:42px;align-items:center}.paper{background:white;border-radius:8px;padding:30px;max-width:380px;margin:auto;box-shadow:0 16px 45px #152f3c21;transform:rotate(2deg)}.paper div{padding:12px;border-bottom:1px solid #dce7e5}.center{text-align:center}.page-hero h1{font-size:clamp(2.1rem,4.4vw,3.4rem)}.page-hero p{color:#d6e6e8;max-width:720px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.article{max-width:800px;line-height:1.8}.article h2{font-size:1.5rem;margin:32px 0 14px}.notice{background:#e6f8ef;border-left:4px solid #18a781;padding:16px 20px;border-radius:7px}.breadcrumbs{color:#69848a;font-size:.87rem;margin-bottom:25px}.app-grid{display:grid;grid-template-columns:minmax(0,720px) minmax(0,330px);gap:21px;align-items:start}.question{background:white;border:1px solid #dce9e6;border-radius:15px;margin:13px 0;padding:21px}.question legend{font-weight:780;padding:0 5px}.choices{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.choices label{display:inline-flex;align-items:center;gap:8px;padding:8px 11px;background:#f2f9f6;border:1px solid #cfe3df;border-radius:10px}.progress{height:8px;background:#e1eae9;border-radius:20px;overflow:hidden}.progress div{height:100%;width:0;background:var(--mint)}.result-item{padding:13px 0;border-bottom:1px solid #deebe8}.result-item p{font-size:.92rem;color:var(--muted)}.small{font-size:.84rem;color:var(--muted)}.field{margin:15px 0}.field label{display:block;font-weight:730;margin-bottom:6px}.field input,.field textarea,.field select{width:100%;padding:10px 12px;border:1px solid #bcd4ce;border-radius:10px;background:white}.report{background:white;border:1px solid #dce9e5;border-radius:13px;padding:25px;min-height:360px}.report-head{border-bottom:3px solid var(--accent,#39c69f);padding-bottom:12px;margin-bottom:18px}.footer{padding:56px 0 20px}.foot-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:45px}.foot-grid a:not(.brand){display:block;margin:7px 0;text-decoration:none}.footer p{max-width:420px;color:#bfd2d8;font-size:.92rem}.foot-bottom{border-top:1px solid #36535e;display:flex;justify-content:space-between;padding-top:20px;margin-top:38px;color:#bfd1d5;font-size:.8rem}@media(max-width:850px){.hero-grid,.split,.app-grid{grid-template-columns:1fr}.cards,.features,.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.phone{margin-top:15px}.foot-grid{grid-template-columns:1fr 1fr}}@media(max-width:600px){.navlinks{display:none}.menu-btn{display:block}.container{width:calc(100% - 30px)}.hero{padding:58px 0 68px}h1{font-size:2.55rem}.section{padding:52px 0}.cards,.features,.grid,.foot-grid{grid-template-columns:1fr}.paper{transform:none}.card,.feature,.panel,.article{padding:21px}.foot-bottom{display:block}.choices{gap:7px}}@media print{.header,.footer,.page-hero,.hide-print,.question,#casa-form,.breadcrumbs,.actions{display:none!important}.app-grid{display:block}.panel,.report,.article{box-shadow:none;border:0;padding:0}.container{width:100%}.result-item{break-inside:avoid}}
/* Firma editoriale */
.page-hero .byline{font-size:.9rem;line-height:1.45;margin:14px 0 0;color:#cde8e5}.page-hero .byline a{color:#fff;text-underline-offset:3px}.editorial-note{font-size:.9rem;color:#cde8e5;margin:15px 0 0}.editorial-note a{color:#fff;text-underline-offset:3px}

/* Consenso facoltativo a GA4: accessibile e con scelte equivalenti. */
.bf-consent-banner{position:fixed;left:16px;right:16px;bottom:16px;z-index:100;max-width:640px;margin:0 auto;background:#fff;color:#15313e;border:1px solid #cdddda;border-radius:14px;padding:22px 24px;box-shadow:0 16px 52px #001d2f40;max-height:calc(100vh - 32px);overflow-y:auto}
.bf-consent-banner h2{font-size:1.28rem;line-height:1.35;margin:0 42px 10px 0}
.bf-consent-banner p{font-size:.93rem;line-height:1.5;margin:0 0 11px}
.bf-consent-banner a{color:#075b68;text-decoration:underline;text-underline-offset:2px}
.bf-consent-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.bf-consent-actions button{flex:1 1 195px;background:#0f2e3b;color:#fff;border:2px solid #0f2e3b;border-radius:9px;padding:11px 14px;font-weight:750;cursor:pointer}
.bf-consent-actions button:hover{background:#164456}
.bf-consent-close{position:absolute;right:14px;top:12px;width:38px;height:38px;border:1px solid #b4c9c5;border-radius:7px;background:#fff;color:#15313e;font-size:1.6rem;line-height:1;cursor:pointer}
.bf-consent-banner button:focus-visible{outline:3px solid #139d7e;outline-offset:3px}
@media(max-width:600px){.bf-consent-banner{left:9px;right:9px;bottom:9px;padding:16px}.bf-consent-actions{gap:8px}.bf-consent-actions button{flex:1 1 135px}}


/* BastaFurti — direzione definitiva 02: electric blue, cyan, soft coral.
   Sistema visivo locale senza font, librerie, immagini o richieste aggiuntive. */
:root{
  --navy:#0b1b3a;
  --mint:#59ecdd;
  --ink:#172541;
  --muted:#536581;
  --soft:#ebf6ff;
  --bf-blue:#1763ef;
  --bf-deep-blue:#0c42b8;
  --bf-cyan:#12bde9;
  --bf-coral:#ff6116;
  --bf-border:#d9e6f4;
  --bf-focus:#ffc0a2;
  background:#f8fbff;
  color:var(--ink);
}
html{scroll-behavior:smooth}
body{background:#f8fbff;color:var(--ink)}
a:focus-visible,button:focus-visible,input:focus-visible,
textarea:focus-visible,select:focus-visible{
  outline:3px solid var(--bf-focus);outline-offset:3px
}
::selection{background:#bfeffb;color:#0b234c}
.container{width:min(1130px,calc(100% - 44px))}
.skip:focus{z-index:200;color:#102244}
.header,.footer{background:var(--navy);color:#fff}
.header{border-bottom:1px solid rgba(255,255,255,.09)}
.navbar{min-height:79px}
.brand{font-size:1.29rem;letter-spacing:.012em;gap:12px}
.brand .symbol{
  background:var(--bf-coral);color:#102244;width:40px;height:40px;
  border-radius:12px;box-shadow:0 6px 20px rgba(9,25,66,.21)
}
.brand .mint{color:#66f0e2}
.brand small{color:#b9cce8;font-weight:500;font-size:.64rem}
.navlinks{gap:8px;align-items:center}
.navlinks a{
  display:inline-flex;min-height:40px;align-items:center;
  padding:8px 13px;border-radius:11px;color:#f3f8ff;
  transition:background-color .17s ease,color .17s ease
}
.navlinks a:hover,.navlinks a:focus-visible{
  text-decoration:none;background:rgba(255,255,255,.11);color:#fff
}
.menu-btn{border-color:rgba(255,255,255,.48);border-radius:11px}
.mobile-nav{background:#102551}
.mobile-nav a{padding:10px 0}
h1,h2,h3{color:inherit}
h1{font-size:clamp(2.75rem,5.4vw,4.75rem);letter-spacing:-.055em;line-height:1.075}
h2{letter-spacing:-.045em}
.eyebrow{color:#155fe3;font-weight:900;letter-spacing:.15em}
.hero,.page-hero{
  color:#fff;
  background:
    radial-gradient(ellipse at 88% 41%,rgba(106,244,255,.48),transparent 41%),
    radial-gradient(ellipse at 18% 115%,rgba(84,136,255,.50),transparent 51%),
    linear-gradient(112deg,#103fae 0%,#0965e9 55%,#0bb7ea 100%);
}
.hero{padding:93px 0 98px;position:relative;overflow:hidden;isolation:isolate}
.hero:before{
  content:"";position:absolute;z-index:-1;pointer-events:none;
  width:900px;height:900px;right:-390px;top:-185px;border-radius:50%;
  border:1px solid rgba(255,255,255,.29);
  box-shadow:0 0 0 80px rgba(255,255,255,.045),0 0 0 180px rgba(255,255,255,.035);
  transform:rotate(-15deg)
}
.hero:after{
  content:"";position:absolute;z-index:-1;pointer-events:none;
  width:580px;height:250px;left:19%;bottom:-190px;
  background:radial-gradient(ellipse,rgba(120,230,255,.53),transparent 70%);
  filter:blur(11px)
}
.hero-grid{grid-template-columns:1.14fr .86fr;gap:56px;align-items:center}
.hero h1{max-width:680px;margin:15px 0 22px;text-wrap:balance}
.hero em{
  font-style:normal;color:#7af8e2;
  text-shadow:0 2px 15px rgba(0,93,174,.15)
}
.hero .eyebrow,.page-hero .eyebrow{color:#e0faff}
.hero .lead{font-size:1.09rem;line-height:1.75;color:#eff8ff}
.hero .editorial-note{color:#e7f5ff}
.hero .editorial-note a{color:#fff}
.hero-actions,.actions{gap:13px}
.btn{
  background:var(--bf-blue);color:#fff;border:1px solid transparent;
  border-radius:13px;padding:14px 20px;font-weight:820;
  box-shadow:0 7px 19px rgba(9,53,134,.10);
  transition:transform .16s ease,box-shadow .16s ease,background-color .16s ease
}
.btn:hover{
  transform:translateY(-2px);box-shadow:0 11px 24px rgba(13,58,143,.20);
  background:#104fca
}
.btn-primary{
  background:var(--bf-coral);color:#142344;
  box-shadow:0 10px 27px rgba(11,37,111,.22)
}
.btn-primary:hover{background:#ffc0a2;color:#142344}
.btn-ghost{
  background:rgba(255,255,255,.07);color:#fff;
  border:1.5px solid rgba(255,255,255,.82);box-shadow:none;
  backdrop-filter:blur(5px)
}
.btn-ghost:hover{background:rgba(255,255,255,.18);color:#fff}
.btn-light{background:#eaf3ff;color:#1645a6;border:1px solid #c2d8f6}
.btn-light:hover{background:#dcecff;color:#1645a6}
.hero .btn-primary{min-height:52px;padding-inline:22px}
.trust{color:#edf8ff;gap:10px 20px;line-height:1.5}
.trust span{white-space:nowrap}
.phone-scene{
  position:relative;display:grid;place-items:center;
  isolation:isolate;min-height:610px;padding:16px 0
}
.phone-scene:before,.phone-scene:after{
  content:"";position:absolute;pointer-events:none;z-index:-1
}
.phone-scene:before{
  width:min(100%,330px);height:380px;border-radius:54px;
  background:linear-gradient(132deg,rgba(255,255,255,.39),rgba(255,255,255,.07));
  border:1px solid rgba(255,255,255,.38);
  box-shadow:0 24px 68px rgba(4,25,95,.14);
  transform:rotate(-11deg) translate(17px,32px)
}
.phone-scene:after{
  width:360px;height:420px;border-radius:50%;
  background:radial-gradient(circle,rgba(127,246,254,.53),transparent 69%);
  filter:blur(18px);right:-34px;top:44px
}
/* Aspetto da vero smartphone: rapporto ~390:844, cornice, tasti, isola e barra di stato. */
.phone{
  position:relative;width:min(100%,272px);aspect-ratio:390 / 844;
  height:auto;min-height:0;padding:6px;
  background:linear-gradient(140deg,#274576,#0a1d43 55%,#193668);
  border:3px solid #86a6d8;border-radius:46px;
  color:#152546;transform:rotate(3deg);
  box-shadow:0 28px 55px rgba(3,23,85,.35),0 3px 0 rgba(255,255,255,.18) inset;
  isolation:isolate
}
.phone:before{
  content:"";position:absolute;top:27%;left:-6px;width:3px;height:63px;
  border-radius:3px 0 0 3px;background:#a0b7db;box-shadow:0 1px 0 rgba(255,255,255,.3)
}
.phone:after{
  content:"";position:absolute;top:36%;right:-6px;width:3px;height:54px;
  border-radius:0 3px 3px 0;background:#a0b7db
}
.phone-side-key{
  position:absolute;top:19%;left:-6px;width:3px;height:27px;
  border-radius:3px 0 0 3px;background:#a0b7db
}
.phone-screen{
  position:relative;width:100%;height:100%;overflow:hidden;
  background:linear-gradient(165deg,#fff 30%,#f1f9ff);
  border:1px solid #c7d5eb;border-radius:36px;
  box-shadow:inset 0 0 0 1px #fff
}
.phone-screen:before{
  content:"";position:absolute;z-index:2;
  width:87px;height:21px;top:9px;left:50%;transform:translateX(-50%);
  background:#101f3d;border-radius:20px;box-shadow:inset 0 1px 2px rgba(0,0,0,.3)
}
.phone-status{
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 19px 0;min-height:37px;font-weight:850;font-size:.63rem;
  letter-spacing:-.02em;color:#1c2d4b
}
.phone-status-icons{display:flex;align-items:center}
.phone-status-icons svg{width:48px;height:16px}
.phone-app{padding:31px 15px 72px}
.phone-app small{color:#125edf;font-size:.65rem;letter-spacing:.045em;font-weight:900}
.phone-app h3{
  font-size:1.39rem;line-height:1.17;margin:16px 0 10px;
  letter-spacing:-.042em;color:#192b4e
}
.phone-app p{
  color:#62738f;font-size:.77rem;line-height:1.5;
  margin-bottom:21px
}
.phone-app .ph-row{
  border-bottom:1px solid #dce8f5;
  padding:12px 0;display:flex;justify-content:space-between;
  gap:9px;font-size:.74rem;line-height:1.4;color:#213250
}
.phone-app .ph-row b{color:#0e70ef;font-size:1rem;line-height:1}
.phone-demo-action{
  position:absolute;left:18px;right:18px;bottom:40px;
  background:#1763ef;color:#fff;min-height:37px;
  padding:8px 12px;border-radius:11px;
  display:flex;align-items:center;justify-content:space-between;
  font-size:.73rem;font-weight:800;letter-spacing:.005em;
  box-shadow:0 5px 12px rgba(23,99,239,.17)
}
.phone-demo-action span{font-size:1.2rem;line-height:1}
.phone-home{
  position:absolute;bottom:11px;left:50%;transform:translateX(-50%);
  background:#192b4e;width:74px;height:4px;border-radius:6px
}
.section{padding:77px 0}
.section h2{max-width:860px;margin-bottom:26px}
.features,.cards{gap:19px}
.card,.feature,.panel,.article{
  background:#fff;border:1px solid var(--bf-border);
  border-radius:21px;box-shadow:0 9px 28px rgba(23,67,134,.055)
}
.feature{padding:26px 25px}
.feature-head{display:flex;align-items:center;gap:14px;margin-bottom:13px}
.feature h3{margin:0 0 10px;font-size:1.18rem}
.feature p,.card p{color:var(--muted);line-height:1.6}
.feature b{color:#0e60df;font-size:.83rem;letter-spacing:.06em}
.icon-chip{
  width:49px;height:49px;border-radius:14px;
  display:inline-grid;place-items:center;
  color:#0b68e4;background:linear-gradient(135deg,#e4f6ff,#d7e9ff);
  box-shadow:inset 0 0 0 1px rgba(13,116,229,.06)
}
.icon-chip svg{display:block;width:24px;height:24px}
.features .feature:nth-child(2) .icon-chip{
  background:linear-gradient(130deg,#d9fff5,#dcf6ff);color:#069b9e
}
.features .feature:nth-child(3) .icon-chip{
  background:linear-gradient(130deg,#e4f1ff,#e4efff);color:#275bd8
}
.card{
  text-decoration:none;min-height:233px;
  padding:24px;border-color:#d9e7f7;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease
}
.card:hover,.card:focus-visible{
  transform:translateY(-4px);border-color:#90c6ff;
  box-shadow:0 17px 35px rgba(22,90,189,.12)
}
.card-icon{
  width:43px;height:43px;display:grid;place-items:center;
  border-radius:13px;background:#eaf6ff;color:#0868ec;
  margin-bottom:14px
}
.card-icon svg{width:22px;height:22px;display:block}
.card small{color:#1260dc;letter-spacing:.05em;font-size:.7rem}
.card h3{font-size:1.14rem;line-height:1.31;margin:9px 0 8px}
.card span:last-child{color:#0759d5;font-weight:850}
.dark-band{
  position:relative;overflow:hidden;isolation:isolate;
  padding:66px 0;
  background:
    radial-gradient(ellipse at 90% 0%,rgba(59,225,255,.45),transparent 42%),
    linear-gradient(106deg,#103baf 0%,#095ae5 58%,#1abdf3 114%);
  color:#fff
}
.dark-band:after{
  content:"";position:absolute;z-index:-1;
  width:600px;height:600px;right:-290px;top:-218px;border:1px solid rgba(255,255,255,.23);
  box-shadow:0 0 0 100px rgba(255,255,255,.035),0 0 0 175px rgba(255,255,255,.04);
  border-radius:50%;pointer-events:none
}
.dark-band .container{display:flex;align-items:center;justify-content:space-between;gap:40px}
.dark-band-copy{max-width:820px}
.dark-band h2{color:#fff;max-width:900px;margin:8px 0 15px}
.dark-band p{color:#e8f5ff}
.dark-band .eyebrow{color:#e7fbff}
.dark-band .btn-primary{
  background:var(--bf-coral);color:#142344;box-shadow:0 10px 23px rgba(9,32,99,.23)
}
.security-mark{
  display:grid;place-items:center;flex:0 0 180px;
  width:180px;height:180px;
  border-radius:50%;background:rgba(255,255,255,.07);
  box-shadow:0 0 0 28px rgba(255,255,255,.035)
}
.security-mark svg{width:126px;height:126px;filter:drop-shadow(0 6px 13px rgba(2,44,127,.18))}
.soft{
  background:linear-gradient(110deg,#eaf5ff 0%,#edf8ff 55%,#dff6ff 100%);
}
.split{gap:60px}
.paper{
  background:linear-gradient(165deg,#fff,#f7fbff);
  border:1px solid #d6e9ff;border-top:5px solid #1763ef;
  border-radius:17px;transform:rotate(4deg);width:min(100%,350px);
  box-shadow:0 23px 45px rgba(28,88,166,.17);
  color:#152544;font-size:.95rem
}
.paper strong{display:block;padding-bottom:12px;letter-spacing:.025em}
.paper div{border-color:#d9e6f4}
.page-hero{padding:65px 0 70px;position:relative;overflow:hidden}
.page-hero:after{
  content:"";pointer-events:none;position:absolute;right:-95px;bottom:-200px;
  width:480px;height:480px;border:1px solid rgba(255,255,255,.18);
  border-radius:50%;box-shadow:0 0 0 63px rgba(255,255,255,.035)
}
.page-hero h1{max-width:890px;margin:13px 0 17px}
.page-hero p{color:#edf7ff;line-height:1.7}
.page-hero .byline{color:#e6f6ff}
.breadcrumbs{color:#60738f}
.grid{gap:20px}
.article{background:#fff;color:#25334b;line-height:1.85}
.article h2{color:#122748}
.article a:not(.btn){color:#125cd3;text-decoration-thickness:1px;text-underline-offset:3px}
.notice{
  background:#edf8ff;border-left:4px solid #15b3df;
  color:#173456;border-radius:12px
}
.panel{padding:26px}
.app-grid{gap:24px}
.app-grid > aside.panel{
  background:linear-gradient(160deg,#f9fdff,#ecf7ff);
  border-color:#cce5fb
}
.question{
  border:1px solid #dbe8f7;border-radius:16px;
  box-shadow:0 6px 16px rgba(25,77,144,.04)
}
.question:focus-within{border-color:#7ebcff;box-shadow:0 0 0 3px rgba(22,99,239,.09)}
.question legend{color:#193153;font-weight:800}
.choices label{
  background:#f3f9ff;border:1px solid #d6e8fa;border-radius:11px;
  color:#254161;cursor:pointer;transition:background-color .15s ease,border-color .15s ease
}
.choices label:hover{background:#e7f3ff;border-color:#a9d4ff}
.choices label:has(input:checked){background:#e7f2ff;border-color:#227bf2}
input[type=checkbox],input[type=radio]{accent-color:#1668e9}
.progress{height:10px;background:#dfefff;border-radius:20px}
.progress div{background:linear-gradient(90deg,#1467ec,#0dbbd3);border-radius:inherit}
.result-item{border-color:#dceaf8}
.field input,.field textarea,.field select{
  background:#fff;color:#142c52;border:1px solid #bfd6ed;border-radius:11px;
  transition:border-color .15s ease,box-shadow .15s ease
}
.field input:focus,.field textarea:focus,.field select:focus{
  outline:none;border-color:#2a7beb;box-shadow:0 0 0 3px rgba(23,99,239,.13)
}
.report{
  border:1px solid var(--bf-border);
  border-radius:19px;box-shadow:0 11px 30px rgba(24,78,145,.06)
}
.report-head{border-bottom-color:var(--accent,#1763ef)}
.footer{padding:55px 0 22px;border-top:4px solid #116ae9}
.footer .foot-grid a:not(.brand){line-height:1.85}
.footer .foot-grid a:not(.brand):hover{color:#8cfae9;text-decoration:underline;text-underline-offset:3px}
.footer p{color:#c7d6eb}
.foot-bottom{border-color:#304361;color:#b8c9e3}
.bf-consent-banner{
  background:#fff;color:#172541;border:1px solid #cedff1;
  box-shadow:0 21px 58px rgba(8,32,82,.28)
}
.bf-consent-banner a{color:#1055c2}
.bf-consent-actions button{
  background:#152c56;color:#fff;border-color:#152c56
}
.bf-consent-actions button:hover{background:#254879}
.bf-consent-close{color:#172541;border-color:#c5d5e7}
.bf-consent-banner button:focus-visible{outline-color:var(--bf-focus)}
@media(min-width:851px){
  .app-grid{grid-template-columns:minmax(0,720px) minmax(0,330px)}
}
@media(max-width:850px){
  .hero{padding:67px 0 75px}
  .hero-grid{grid-template-columns:minmax(0,1fr);gap:10px}
  .phone-scene{min-height:590px}
  .dark-band .container{gap:18px}
  .security-mark{flex-basis:130px;width:130px;height:130px}
  .security-mark svg{width:100px;height:100px}
}
@media(max-width:600px){
  html{scroll-behavior:auto}
  .container{width:calc(100% - 34px)}
  .navbar{min-height:72px}
  .hero{padding:53px 0 54px}
  .hero h1{font-size:clamp(2.55rem,11vw,3.65rem)}
  .hero .lead{font-size:1.02rem}
  .hero:before{right:-580px}
  .hero-actions{margin:23px 0}
  .hero-actions .btn{padding:12px 16px;min-height:48px}
  .trust{gap:8px 12px;font-size:.78rem}
  .phone-scene{min-height:0;margin-top:20px;padding:26px 0 35px}
  .phone-scene:before{width:min(91%,300px);height:330px}
  .phone-scene:after{right:auto}
  .phone{width:min(69vw,250px);aspect-ratio:390 / 844;min-height:0;padding:5px;transform:rotate(2.5deg)}
  .phone-screen{border-radius:34px}
  .phone-app{padding:30px 14px 70px}
  .phone-app h3{font-size:1.32rem;margin-top:15px}
  .phone-app .ph-row{font-size:.73rem;padding:11px 0}
  .section{padding:60px 0}
  .feature,.card,.panel,.article{padding:22px}
  .dark-band{padding:56px 0}
  .dark-band .container{display:block}
  .security-mark{display:none}
  .split{gap:32px}
  .page-hero{padding:53px 0 57px}
  .paper{transform:rotate(2deg);max-width:320px}
  .foot-grid{gap:26px}
  .card{min-height:205px}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .btn,.card,.choices label,.navlinks a,.field input,.field textarea,.field select{
    transition:none!important
  }
  .btn:hover,.card:hover{transform:none}
}
@media print{
  body{background:#fff!important;color:#000!important}
  .hero,.dark-band,.security-mark,.phone-scene{display:none!important}
  .card,.feature,.panel,.article,.report,.question,.paper{
    box-shadow:none!important;background:#fff!important
  }
  .btn{box-shadow:none!important}
  .report-head{border-bottom-color:var(--accent,#1763ef)}
}


/* Guide approfondite 2026: lettura, infografiche e indicizzazione semantica */
.editorial-section{background:#f8fbff}
.editorial-layout{display:grid;grid-template-columns:minmax(0,790px) minmax(220px,270px);gap:29px;align-items:start}
.article.article-long{max-width:none;padding:29px 32px 36px;font-size:1.04rem;line-height:1.8;overflow-wrap:break-word}
.article-long p{margin:0 0 18px}
.article-long h2{font-size:clamp(1.5rem,2.2vw,1.95rem);line-height:1.22;letter-spacing:-.035em;margin:40px 0 16px;color:#122748;scroll-margin-top:28px}
.article-long h3{font-size:1.21rem;line-height:1.35;letter-spacing:-.02em;margin:25px 0 10px;color:#1b375f}
.article-long ul,.article-long ol{padding-left:22px;margin:15px 0 24px}
.article-long li{padding-left:5px;margin:8px 0}
.article-long a:not(.btn){color:#1459c9;text-decoration-color:#80b6f7;text-underline-offset:3px}
.article-long a:not(.btn):hover{text-decoration-color:#1459c9}
.editorial-figure{margin:0 0 28px}
.editorial-figure img{display:block;width:100%;max-width:100%;height:auto;aspect-ratio:16/9;border-radius:15px;border:1px solid #c8e3f5;background:#e9f7ff}
.editorial-figure figcaption{padding:11px 3px 0;color:#506781;font-size:.85rem;line-height:1.5}
.article-long .answer-lead{font-size:1.11rem;color:#263b58;line-height:1.75}
.key-takeaway{margin:26px 0;padding:22px 24px;border-radius:16px;background:linear-gradient(116deg,#e9f7ff,#f2fffc);border-left:5px solid #10aebb;color:#193b5d}
.key-takeaway strong{font-size:1.04rem}
.key-takeaway p{margin:7px 0 0;font-size:.97rem}
.table-scroll{overflow-x:auto;max-width:100%;margin:22px 0 30px;border:1px solid #d5e5f5;border-radius:14px;scrollbar-color:#8cbbed #eaf5ff}
.table-scroll:focus-visible{outline:3px solid #ff6116}
.table-scroll table{width:100%;border-collapse:collapse;font-size:.92rem;line-height:1.55;min-width:620px}
.table-scroll caption{caption-side:top;text-align:left;padding:12px 16px;font-size:.88rem;color:#516987;background:#f1f8ff}
.table-scroll th{padding:15px 16px;background:#e3f2ff;color:#163b71;text-align:left;font-size:.9rem;font-weight:800;vertical-align:top}
.table-scroll td{padding:15px 16px;border-top:1px solid #dce8f4;vertical-align:top;color:#263e5b}
.table-scroll tr:nth-child(even) td{background:#f8fbff}
.scenario-grid{display:grid;grid-template-columns:1fr;gap:13px;margin:21px 0 27px}
.scenario-card{border:1px solid #d5e7f7;background:#f7fbff;border-radius:14px;padding:18px 21px}
.scenario-card strong{color:#1559c7}
.scenario-card p{margin:7px 0 0;font-size:.95rem}
.step-list{counter-reset:bfstep;list-style:none;padding:0!important}
.step-list li{counter-increment:bfstep;position:relative;margin:16px 0!important;padding:0 0 0 51px!important;min-height:36px}
.step-list li:before{content:counter(bfstep);position:absolute;left:0;top:0;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#1763ef;color:#fff;font-size:.93rem;font-weight:800}
.print-checklist{list-style:none;padding:0!important;display:grid;gap:10px}
.print-checklist li{margin:0!important;padding:14px!important;border:1px solid #d7e6f5;background:#f8fcff;border-radius:12px;display:flex;align-items:flex-start;gap:13px}
.empty-check{flex:0 0 23px;height:23px;margin-top:3px;border:2px solid #2772da;background:#fff;border-radius:5px}
.faq-list{margin:20px 0 30px;display:grid;gap:9px}
.faq-list details{border:1px solid #d6e5f4;background:#fff;border-radius:12px;padding:0 17px}
.faq-list summary{cursor:pointer;color:#183858;font-weight:800;padding:16px 26px 16px 0;line-height:1.48}
.faq-list summary:hover{color:#155dd2}
.faq-list details[open]{background:#f8fcff;border-color:#b4d8f5}
.faq-list details p{padding:0 4px 15px;margin:0!important;font-size:.97rem}
.source-list{font-size:.93rem;color:#526a83;line-height:1.65}
.article-cta{margin:26px 0 5px;background:linear-gradient(110deg,#eaf7ff,#e6fbf6);border:1px solid #c7e4f2;border-radius:17px;padding:26px}
.article-cta strong{font-size:1.12rem;color:#173960}
.article-cta p{font-size:.95rem;margin:8px 0 16px}
.article-cta .btn-primary{background:#ff6116;color:#142344}
.reading-sidebar{position:sticky;top:22px;background:#fff;border:1px solid #d8e6f3;border-radius:17px;padding:25px 21px;box-shadow:0 8px 24px rgba(18,57,111,.045)}
.reading-sidebar .eyebrow{font-size:.73rem;margin-bottom:13px}
.reading-sidebar ol{padding-left:20px;margin:0 0 23px}
.reading-sidebar li{font-size:.91rem;line-height:1.45;margin:9px 0;padding-left:2px;color:#4d6685}
.reading-sidebar li a{text-decoration:none;color:#1d436d}
.reading-sidebar li a:hover{color:#115dd9;text-decoration:underline}
.sidebar-tool{border-radius:12px;background:#eff7ff;padding:15px 16px;color:#1b426b;font-size:.92rem}
.sidebar-tool p{margin:7px 0}
.sidebar-tool a{color:#155ccf;font-weight:800}
@media(max-width:960px){.editorial-layout{grid-template-columns:minmax(0,1fr)}.reading-sidebar{position:static;order:-1}.reading-sidebar ol{columns:2}}
@media(max-width:640px){.editorial-section{padding:34px 0 45px}.article.article-long{padding:20px 18px 25px;font-size:1rem}.editorial-layout{gap:16px}.reading-sidebar{display:none}.article-long h2{margin-top:31px}.table-scroll{margin-left:-5px;margin-right:-5px}.key-takeaway{padding:19px 17px}.editorial-figure img{border-radius:11px}}
@media print{.reading-sidebar,.article-cta{display:none!important}.article.article-long{padding:0;border:0;box-shadow:none}.editorial-figure img{max-height:250px;object-fit:contain}.key-takeaway,.scenario-card,.table-scroll,.print-checklist li{background:#fff!important;break-inside:avoid}.table-scroll{overflow:visible}.table-scroll table{min-width:0;font-size:.75rem}.table-scroll th,.table-scroll td{padding:7px}.editorial-layout{display:block}}

/* Blocchi decisione e imprevisti nel protocollo di partenza */
.article-long .editorial-inset{background:#eff8ff;border:1px solid #c9e3f5;border-radius:15px;padding:18px 22px;margin:28px 0;}
.article-long .editorial-inset h3{margin:0 0 13px;color:#144b97}
.article-long .editorial-inset p:last-child{margin-bottom:0}
@media(max-width:640px){.article-long .editorial-inset{padding:16px}}

/* Tre guide in evidenza con anteprima SVG originale */
.catalog-subtitle{max-width:790px;color:#536581;margin:-9px 0 27px;font-size:1.05rem;line-height:1.68}
.grid .card-editorial,.cards .card-editorial{display:flex;flex-direction:column;align-items:flex-start;gap:0;padding-top:14px}
.card-editorial img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:13px;background:#eaf6ff;border:1px solid #d4e7f7;margin-bottom:17px}
.card-editorial small{color:#125ccf;font-weight:850;letter-spacing:.045em}
.card-editorial h3{margin:10px 0 9px}
.card-editorial p{margin:0 0 18px}
.card-editorial span:last-child{margin-top:auto}
.editorial-figure>a{display:block;border-radius:15px;outline-offset:4px}
.editorial-figure figcaption a{font-weight:800;margin-left:.35em;white-space:nowrap;color:#155ecb}
@media(max-width:640px){.catalog-subtitle{margin-top:-6px}.card-editorial img{margin-bottom:15px}}
@media print{.card-editorial img{max-height:200px;object-fit:contain}}

/* Articoli specialistici: calcolatore comparazione a costo totale, nessun dato trasmesso */
.article-tco{background:linear-gradient(135deg,#eef8ff,#f8fcff);border:1px solid #b8ddf7;border-radius:21px;padding:26px;margin:28px 0;box-shadow:0 13px 28px rgba(14,83,160,.08)}
.tco-title{display:flex;align-items:flex-start;gap:15px;margin-bottom:20px}
.tco-icon{display:grid;place-items:center;flex:0 0 49px;width:49px;height:49px;border-radius:15px;background:#1763ef;color:#fff;font-size:1.55rem;font-weight:900}
.article-tco .tco-title h3{margin:0 0 5px!important;font-size:1.27rem!important;color:#17365b!important}
.article-tco .tco-title p{font-size:.93rem;margin:0;color:#536a83}
.tco-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.tco-grid label{display:flex;flex-direction:column;gap:7px;color:#204566;font-weight:800;font-size:.87rem;line-height:1.3}
.tco-grid input,.tco-grid select{width:100%;min-width:0;box-sizing:border-box;border:1.5px solid #abc9e7;background:#fff;color:#173253;border-radius:11px;padding:12px 14px;font:600 1.01rem system-ui,sans-serif}
.tco-grid input:focus-visible,.tco-grid select:focus-visible{outline:3px solid #ff6116;outline-offset:2px}
.tco-grid input:invalid{border-color:#af3434}
.tco-result{margin-top:20px;background:linear-gradient(110deg,#103a9b,#1763ef);border-radius:16px;color:#fff;padding:20px 24px;display:flex;flex-direction:column;gap:5px}
.tco-result>span{color:#dff5ff;font-size:.9rem;font-weight:800}
.tco-result output{font-size:clamp(1.8rem,4.5vw,2.6rem);font-weight:900;line-height:1.2;color:#fff;font-variant-numeric:tabular-nums}
.tco-result small{color:#e7f6ff;font-size:.82rem;line-height:1.55}
.article-tco .tco-disclaimer{margin:13px 0 0;font-size:.82rem;line-height:1.55;color:#486b86}
@media(max-width:640px){.article-tco{padding:19px 16px;margin:23px -2px}.tco-title{gap:11px}.tco-grid{grid-template-columns:minmax(0,1fr)}.tco-result{padding:18px}}
@media print{.article-tco{background:#fff!important;box-shadow:none;border-color:#a0a0a0}.tco-result{background:#fff!important;color:#111!important;border:1px solid #888}.tco-result *{color:#111!important}}


/* Manuale pratico — worksheet stampabili e simulatore IVASS educativo. */
.guide-all-link{margin-top:25px}
.print-workbook{border:2px solid #a8cdea;border-radius:18px;background:linear-gradient(135deg,#f3faff,#fff);padding:23px;margin:27px 0}
.article-long .print-workbook h3{margin:0 0 12px;color:#164579;font-size:1.22rem}
.print-workbook p{font-size:.89rem;color:#436782;line-height:1.65}
.print-workbook .btn{margin-top:10px}
.family-plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:14px 0}
.family-plan-grid>div{border:1px solid #cce0f3;border-radius:12px;background:white;padding:15px;min-width:0}
.family-plan-grid strong{color:#1453a0;font-size:.92rem}
.family-plan-grid p{margin:9px 0;line-height:1.55}
.article-calc{background:linear-gradient(135deg,#eff8ff,#fff);border:1px solid #b8d9ef;border-radius:19px;padding:24px;margin:27px 0;box-shadow:0 10px 27px rgba(18,68,122,.07)}
.calc-heading{display:flex;align-items:flex-start;gap:14px;margin-bottom:20px}
.calc-heading h3{margin:0 0 6px!important;color:#18436e;font-size:1.26rem}
.calc-heading p{margin:0;color:#52738e;font-size:.91rem;line-height:1.5}
.calc-symbol{flex:0 0 48px;width:48px;height:48px;border-radius:15px;background:#1763ef;color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.5rem}
.calc-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.calc-fields label{display:flex;flex-direction:column;gap:7px;font-weight:800;color:#214466;font-size:.88rem;line-height:1.35}
.calc-fields input,.calc-fields select{width:100%;min-width:0;box-sizing:border-box;padding:11px 13px;background:#fff;border:1.5px solid #a9cce8;border-radius:11px;font-size:1rem;font-weight:650;color:#173355}
.calc-fields input:focus-visible,.calc-fields select:focus-visible{outline:3px solid #ff6116;outline-offset:2px}
.calc-fields input:invalid{border-color:#b84141}
.calc-outcome{display:flex;flex-direction:column;gap:7px;margin-top:20px;background:linear-gradient(110deg,#113a93,#1763ef);border-radius:15px;padding:20px 23px;color:#fff}
.calc-outcome>span{color:#dff6ff;font-size:.9rem;font-weight:800}
.calc-outcome output{font-size:clamp(1.8rem,4vw,2.65rem);font-weight:900;font-variant-numeric:tabular-nums;line-height:1.2}
.calc-outcome small{color:#e6f5ff;font-size:.83rem;line-height:1.55}
.calc-footnote{font-size:.82rem!important;color:#54718a;margin:12px 0 0!important;line-height:1.55!important}
@media(max-width:640px){
 .article-calc,.print-workbook{padding:17px 14px}
 .calc-fields,.family-plan-grid{grid-template-columns:minmax(0,1fr)}
 .calc-outcome{padding:19px}
}
@media print{
 .no-print{display:none!important}
 .print-workbook{border:1px solid #aaa!important;background:#fff!important;box-shadow:none!important;break-inside:avoid}
 .family-plan-grid>div{background:#fff!important;break-inside:avoid}
 .article-calc{background:#fff!important;box-shadow:none!important;break-inside:avoid}
 .calc-outcome{background:#fff!important;color:#111!important;border:1px solid #777}
 .calc-outcome *{color:#111!important}
}

/* BastaFurti v9 · Footer uniforme: quattro gruppi, navigazione leggibile e accessibile. */
.footer .foot-grid{grid-template-columns:minmax(0,1.42fr) repeat(3,minmax(0,1fr));align-items:start;gap:clamp(18px,2.8vw,35px)}
.footer .bf-footer-about,.footer .bf-footer-group{min-width:0}
.footer .bf-footer-about p{line-height:1.75;margin:17px 0 0;max-width:310px}
.footer .bf-footer-group>strong{display:block;font-size:.95rem;line-height:1.4;margin:3px 0 11px;font-weight:900;color:#244b57}
.footer .foot-grid .bf-footer-group a:not(.brand){display:flex;align-items:center;margin:0;padding:9px 8px;min-height:44px;border-radius:9px;line-height:1.42;overflow-wrap:anywhere;text-decoration:none;font-size:.9rem;font-weight:650;color:#345c54}
.footer .foot-grid .bf-footer-group a:not(.brand):hover{background:#deedf3;color:#244b57;text-decoration:underline;text-underline-offset:4px}
.footer .foot-grid .bf-footer-group a:not(.brand):focus-visible{outline:3px solid #c84407;outline-offset:2px;text-decoration:underline}
.footer .foot-grid .bf-footer-group a[aria-current="page"]{background:#e0edf4;font-weight:850;text-decoration:underline;text-underline-offset:4px}
.footer .foot-bottom{gap:10px 24px;flex-wrap:wrap;line-height:1.55}
@media(max-width:900px){.footer .foot-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:27px 35px}}
@media(max-width:560px){.footer{padding-top:36px}.footer .foot-grid{grid-template-columns:minmax(0,1fr);gap:24px}.footer .bf-footer-group{padding-top:15px;border-top:1px solid #ccdee6}.footer .bf-footer-group>strong{margin:0 0 8px}.footer .foot-grid .bf-footer-group a:not(.brand){min-height:46px}.footer .foot-bottom{display:flex;flex-direction:column;align-items:flex-start;margin-top:25px}}
@media print{.footer{display:none!important}}

/* v35 — ricerca e mappa globale, in flusso normale anche con tastiera mobile. */
.header .bf-global-discovery{background:#eaf5fa;color:#163d57;border-top:1px solid #92bdd0;padding:10px 0 12px}
.header .bf-discovery-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:10px 16px;min-width:0}
.header .bf-discovery-quick{display:flex;flex-wrap:wrap;align-items:flex-start;gap:7px;min-width:0}
.header .bf-discovery-quick>a,.header .bf-discovery-sections>summary{background:#fff;color:#163d57!important;display:flex;align-items:center;justify-content:center;border:1px solid #729caf;border-radius:8px;padding:8px 12px;font-size:.88rem;font-weight:750;line-height:1.35;min-height:44px;text-decoration:none!important;cursor:pointer;white-space:normal;word-break:normal;overflow-wrap:normal}
.header .bf-discovery-quick>a:first-child{background:#163d57;color:#fff!important;border-color:#163d57}
.header .bf-discovery-quick>a[aria-current=page]{box-shadow:inset 0 -3px #ef752d}
.header .bf-discovery-sections{position:relative;min-width:0}
.header .bf-discovery-sections>summary{display:list-item;list-style-position:inside}
.header .bf-discovery-directory{position:absolute;right:0;top:calc(100% + 6px);z-index:12;width:min(720px,calc(100vw - 36px));display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:16px;border:1px solid #729caf;border-radius:12px;background:#fff;box-shadow:0 8px 24px #163d5733;color:#163d57}
.header .bf-discovery-directory strong{display:block;margin-bottom:5px;color:#163d57}
.header .bf-discovery-directory a{display:block;padding:8px 0;color:#163d57!important;line-height:1.4;text-decoration:underline;text-underline-offset:2px}
.header .bf-global-search{position:relative;min-width:0}
.header .bf-global-search input{width:100%;min-width:0;min-height:46px;background:#fff;color:#15313e;border:1px solid #729caf;border-radius:9px;padding:9px 12px;font-size:16px}
.header .bf-global-search input::placeholder{color:#526d78}
.header .bf-global-results{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:13;max-height:min(55vh,430px);overflow:auto;overscroll-behavior:contain;background:#fff;color:#163d57;border:1px solid #729caf;border-radius:10px;box-shadow:0 8px 24px #163d5733;padding:10px}
.header .bf-global-results[hidden],.header .bf-global-results button[hidden]{display:none!important}
.header .bf-search-status{margin:0 0 8px;font-size:.85rem;color:#435f70}
.header .bf-search-list{list-style:none;padding:0;margin:0}
.header .bf-search-list li+li{border-top:1px solid #d8e5ed}
.header .bf-search-list a{display:block;padding:9px 7px;min-height:44px;color:#163d57!important;line-height:1.4;text-decoration:none;font-weight:650;overflow-wrap:normal;word-break:normal}
.header .bf-search-list small{display:block;color:#526d78;font-weight:500}
.header .bf-global-results button{min-height:44px;color:#163d57;background:#eaf5fa;border:1px solid #729caf;border-radius:8px;padding:6px 12px;margin-top:8px;cursor:pointer}
.header .bf-global-discovery :is(a,summary,input,button):focus-visible{outline:3px solid #166985!important;outline-offset:2px}
.header .bf-global-discovery :is(a,summary):hover{background:#d8eaf4;color:#163d57!important}
.bf-home-learning{padding:16px 0;background:#eaf5fa;color:#163d57}
.bf-home-learning .container{display:flex;gap:12px;flex-wrap:wrap;align-items:stretch}
.bf-home-learning a{flex:1 1 240px;min-width:0;display:block;padding:13px 16px;border:1px solid #729caf;border-radius:10px;background:#fff;color:#163d57;text-decoration:none}
.bf-home-learning a strong{display:block;font-size:1.05rem;text-decoration:underline;text-underline-offset:3px}
.bf-home-learning a span{display:block;line-height:1.45;margin-top:4px}
.header .mobile-nav a:is([href="/osservatorio/lab/"],[href="/academy/"])::before{display:none!important}
@media(max-width:800px){.header .bf-discovery-inner{grid-template-columns:minmax(0,1fr)}.header .bf-discovery-quick{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.header .bf-discovery-sections{grid-column:1/-1}.header .bf-discovery-sections>summary{text-align:center}.header .bf-discovery-directory{position:static;width:auto;grid-template-columns:1fr;margin-top:7px}.header .bf-global-results{position:static;max-height:42vh;margin-top:6px}}
@media print{.bf-home-learning,.header .bf-global-discovery{display:none!important}}

/* v37 — palette, search results and thematic directory. No navigation or scoring changes. */
.header .bf-global-discovery{background:#D4E8F3;color:#163D57;border-top-color:#75D6E4}
.header .bf-global-search input{border:2px solid #477C9E;box-shadow:inset 0 1px 3px #163d5710;padding-inline-start:39px;border-radius:10px}
.header .bf-global-search::before{content:"";position:absolute;left:14px;top:14px;width:12px;height:12px;border:2px solid #28688D;border-radius:50%;pointer-events:none;z-index:1}
.header .bf-global-search::after{content:"";position:absolute;left:26px;top:27px;width:7px;height:2px;background:#28688D;transform:rotate(45deg);pointer-events:none;z-index:1}
.header .bf-global-search input:focus{border-color:#28688D;box-shadow:0 0 0 3px #28688D26}
.header .bf-discovery-quick>a[href="/osservatorio/lab/"]{background:#14665C;color:#fff!important;border-color:#14665C}
.header .bf-discovery-quick>a[href="/academy/"]{background:#A34B18;color:#fff!important;border-color:#A34B18}
.header .bf-discovery-quick>a[href="/osservatorio/lab/"]:is(:hover,:focus-visible){background:#E0F1EB;color:#14665C!important}
.header .bf-discovery-quick>a[href="/academy/"]:is(:hover,:focus-visible){background:#FBECDD;color:#A34B18!important}
.header .bf-discovery-sections>summary{background:#285B7B;color:#fff!important;border-color:#285B7B}
.header .bf-discovery-sections>summary:is(:hover,:focus-visible),.header .bf-discovery-sections[open]>summary{background:#E3EFF7;color:#285B7B!important}
.header .bf-discovery-directory{border-color:#477C9E;box-shadow:0 10px 28px #163d5733}
.header .bf-discovery-directory>div{min-width:0;padding:12px;border-radius:8px;border-top:3px solid var(--bf-dir-ink);background:var(--bf-dir-soft)}
.header .bf-discovery-directory>div:nth-child(1){--bf-dir-ink:#245C91;--bf-dir-soft:#E6F1FC}
.header .bf-discovery-directory>div:nth-child(2){--bf-dir-ink:#14665C;--bf-dir-soft:#E0F1EB}
.header .bf-discovery-directory>div:nth-child(3){--bf-dir-ink:#A34B18;--bf-dir-soft:#FBECDD}
.header .bf-discovery-directory>div>strong{color:var(--bf-dir-ink)}
.header .bf-discovery-directory a:is(:hover,:focus-visible){background:#fff;color:#163D57!important}
.header .bf-global-results{border-color:#477C9E;box-shadow:0 10px 28px #163d5733}
.header .bf-search-list a[data-bf-section]{border-inline-start:4px solid var(--bf-result-ink);padding-inline-start:10px;border-radius:5px}
.header .bf-search-list a[data-bf-section]:is(:hover,:focus-visible){background:var(--bf-result-soft);color:#163D57!important}
.header .bf-search-list a[data-bf-section] small{display:table;max-width:100%;width:fit-content;color:var(--bf-result-ink);background:var(--bf-result-soft);padding:2px 7px;border-radius:5px;margin-top:4px;font-weight:700;line-height:1.4;white-space:normal;word-break:normal;overflow-wrap:normal}
.header .bf-global-discovery :is(a,summary,input,button):focus-visible{outline:3px solid #166985!important;outline-offset:2px}
.header .bf-search-list a[data-bf-section="casa"]{--bf-result-ink:#14665C;--bf-result-soft:#E0F1EB}
.header .bf-search-list a[data-bf-section="guide"]{--bf-result-ink:#245C91;--bf-result-soft:#E6F1FC}
.header .bf-search-list a[data-bf-section="video"]{--bf-result-ink:#514C89;--bf-result-soft:#EEEBFA}
.header .bf-search-list a[data-bf-section="pro"]{--bf-result-ink:#805513;--bf-result-soft:#F6EFDE}
.header .bf-search-list a[data-bf-section="osservatorio"]{--bf-result-ink:#89452D;--bf-result-soft:#F8E8E1}
.header .bf-search-list a[data-bf-section="lab"]{--bf-result-ink:#14665C;--bf-result-soft:#E0F1EB}
.header .bf-search-list a[data-bf-section="academy"]{--bf-result-ink:#A34B18;--bf-result-soft:#FBECDD}
.header .bf-search-list a[data-bf-section="strumenti"]{--bf-result-ink:#285B7B;--bf-result-soft:#E3EFF7}
.header .bf-search-list a[data-bf-section="veicoli"]{--bf-result-ink:#365F67;--bf-result-soft:#E6F2F3}
.header .bf-search-list a[data-bf-section="truffe"]{--bf-result-ink:#834C46;--bf-result-soft:#F9E9E6}
.header .bf-search-list a[data-bf-section="progetto"]{--bf-result-ink:#47596A;--bf-result-soft:#EBF1F5}

/* v37.1 — same readable type in discovery, keeping colors and responsive layout. */
.header .bf-discovery-quick>a,.header .bf-discovery-sections>summary,.header .bf-global-search input,.header .bf-global-results,.header .bf-discovery-directory{font-family:var(--bf-nav-font,"Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,Arial,sans-serif)}
.header .bf-discovery-quick>a,.header .bf-discovery-sections>summary{font-size:1rem;font-weight:600;line-height:1.35;letter-spacing:.01em}
.header .bf-global-search input{font-size:1rem;font-weight:400;line-height:1.4}
.header .bf-search-list a{font-size:1rem;font-weight:600;line-height:1.45}
.header .bf-search-list a[data-bf-section] small{font-size:.8125rem;font-weight:600;line-height:1.4}
.header .bf-discovery-directory a,.header .bf-discovery-directory strong{font-size:.9375rem;line-height:1.45;font-weight:600}
.header .bf-global-results button{font-size:.9375rem;font-weight:600}

