/* Salute Epatica, the client's stylesheet (package V4). Fonts: self-hosted, @font-face in index.html. */
:root{--navy:#161b46;--purple:#6840b7;--violet:#784fca;--lav:#ebe5fb;--lav-light:#f8f5ff;--mint:#eef4e9;--green:#5f9b56;--line:#e7e1f1;--shadow:0 24px 55px rgba(40,30,96,.11);--max:1180px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;color:var(--navy);background:#fff;font-family:'DM Sans','Manrope',Arial,sans-serif;-webkit-font-smoothing:antialiased}button,input{font:inherit}button{cursor:pointer}a{text-decoration:none;color:inherit}img{display:block;max-width:100%}.container{width:min(var(--max),calc(100% - 56px));margin:auto}.icon-sprite{position:absolute;width:0;height:0;overflow:hidden}svg{display:block}.skip{position:absolute;z-index:99;top:-100px;left:12px;padding:10px;background:#fff}.skip:focus{top:12px}.eyebrow{display:block;font-size:11px;font-weight:900;letter-spacing:.15em;color:var(--purple);margin-bottom:17px}.badge{display:inline-flex;align-items:center;gap:9px;background:#eee5fc;color:#47218a;border-radius:100px;padding:10px 17px;font-weight:800;font-size:12px;letter-spacing:.02em}.badge svg{height:18px;width:18px;fill:none;stroke:currentColor;stroke-width:1.8}.pill{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:100px;border:1.5px solid transparent;font-weight:800;padding:13px 23px;font-size:14px;white-space:nowrap;transition:transform .2s,box-shadow .2s,background .2s;line-height:1.3}.pill:hover{transform:translateY(-2px)}.pill:focus-visible, a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #d2baff;outline-offset:3px}.pill-primary{background:linear-gradient(125deg,#7449be,#582da7);color:#fff;box-shadow:0 8px 18px rgba(100,56,180,.23)}.pill-primary:hover{box-shadow:0 15px 30px rgba(100,56,180,.3)}.pill-outline{border-color:#7b53c1;color:#5930a0;background:#fff}.pill-outline:hover{background:#f7f3ff}.pill-large{padding:17px 25px;font-size:15px}.pill svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}.pill-white{background:#fff;color:#5834a8}.pill-ghost{border-color:#ffffff99;color:#fff;background:#ffffff16}.pill-ghost:hover{background:#ffffff29}
h1,h2,h3,p{margin-top:0}h1,h2{letter-spacing:-.048em;font-family:'Manrope','DM Sans',Arial,sans-serif}h1 em,h2 em{font-style:italic;color:#784ac5;font-family:Georgia,'Times New Roman',serif;font-weight:600;letter-spacing:-.038em}p{line-height:1.65}.topbar{position:sticky;top:0;z-index:30;background:#fffffff2;backdrop-filter:blur(20px);border-bottom:1px solid #e9e5f0;transition:box-shadow .2s}.topbar.is-scrolled{box-shadow:0 8px 20px #17194612}.header-inner{height:78px;display:flex;align-items:center;gap:30px}.brand img{width:184px;height:auto;object-fit:contain}.desktop-nav{margin:auto;display:flex;align-items:center;gap:30px}.desktop-nav a{font-size:14px;font-weight:700;color:#3d3a55;transition:color .2s}.desktop-nav a:hover{color:var(--purple)}.nav-cta{padding:12px 22px}.hamburger{display:none;border:0;background:none;cursor:pointer;padding:12px}.hamburger span{display:block;width:23px;height:2px;margin:5px;background:var(--navy);border-radius:2px}.mobile-nav{display:none}.mobile-nav[hidden]{display:none}
.hero{position:relative;overflow:hidden;background:linear-gradient(117deg,#fff 22%,#f9f6ff 70%,#ede4ff);isolation:isolate}.hero-orbit{position:absolute;pointer-events:none;border-radius:50%;border:100px solid #d7c6fb38;width:650px;height:650px;right:-340px;top:-260px;z-index:-1}.hero-inner{display:grid;grid-template-columns:1.05fr 1fr;gap:38px;align-items:center;min-height:570px;padding-top:55px;padding-bottom:88px}.hero-copy{position:relative;z-index:1}.hero h1{font-size:clamp(39px,4.4vw,65px);line-height:1.1;margin:22px 0 17px;font-weight:850;max-width:660px}.hero-lead{font-size:22px;line-height:1.4;font-weight:800;max-width:580px;margin-bottom:14px}.hero-desc{font-size:16px;color:#656778;max-width:550px;margin-bottom:26px}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.hero-trust{display:flex;flex-wrap:wrap;gap:18px;margin-top:25px;color:#6e6782;font-size:12px;font-weight:700}.hero-trust span{display:flex;align-items:center;gap:5px}.hero-trust svg{width:15px;height:15px;fill:none;stroke:#7754c0;stroke-width:1.8}.hero-visual{position:relative;min-width:0;padding:0 0 20px}.hero-image{position:relative;height:480px;border-radius:40px 100px 42px 92px;overflow:hidden;background:#eee9fa;box-shadow:0 35px 55px #72629a24;transform:rotate(1.5deg)}.hero-image:before{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#ede5f488,transparent 30%);z-index:1;pointer-events:none}.hero-image img{width:100%;height:100%;object-fit:cover;object-position:56% 45%;transform:scale(1.055)}.hero-glow{position:absolute;width:330px;height:120px;background:#ab8bff55;filter:blur(50px);border-radius:80%;right:-10px;bottom:-10px;z-index:-1}.hero-spark{position:absolute;color:#a68ad2;font-size:30px}.hero-spark.one{top:-25px;right:18px}.hero-spark.two{bottom:35px;left:-24px}.hero-label{position:absolute;bottom:2px;left:-26px;z-index:2;background:#fffefded;border:1px solid #eee4fa;box-shadow:0 15px 30px #42336e23;padding:15px 24px;border-radius:18px;color:#6954a1;font-weight:800;font-size:10px;letter-spacing:.1em;line-height:1.4;backdrop-filter:blur(9px)}.hero-label strong{font-size:16px;color:var(--navy);letter-spacing:0}.hero-label .dot{display:inline-block;width:8px;height:8px;background:#71b06b;border-radius:100%;margin-right:5px}.hero-wave{position:absolute;bottom:-1px;width:100%;height:55px;background:#fff;clip-path:ellipse(65% 85% at 50% 110%)}
.under-hero{padding:60px 0 75px}.under-head{display:grid;grid-template-columns:1.05fr .9fr;gap:90px;align-items:end}.under-head h2,.food-content h2,.liver-feature h2,.guide h2,.quiz-panel h2,.app h2,.faq h2,.final h2{font-size:clamp(31px,3.5vw,48px);line-height:1.16;font-weight:850;margin:0}.under-head p{font-size:16px;color:#64667a;margin:0;max-width:520px}.icon-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin-top:38px;background:linear-gradient(120deg,#fff,#f9f6ff);border:1px solid #eee9f7;border-radius:22px;padding:25px 10px}.icon-strip article{display:flex;align-items:center;justify-content:center;text-align:center;gap:14px;padding:8px 13px;border-right:1px solid #e7dff3}.icon-strip article:last-child{border:0}.icon-strip strong{font-size:13px;line-height:1.35}.icon-bubble{display:grid;place-items:center;flex:none;width:55px;height:55px;border-radius:50%;background:#e9e1f9;color:#6943b2}.icon-bubble svg,.food-cards svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.food-story{padding:27px 0 85px}.food-grid{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center}.food-photo{height:490px;border-radius:24px 100px 24px 75px;overflow:hidden;position:relative;box-shadow:var(--shadow)}.food-photo img{width:100%;height:100%;object-fit:cover;object-position:center}.photo-corner{position:absolute;left:20px;bottom:20px;background:#fffc;padding:10px 16px;border-radius:100px;font-size:11px;font-weight:900;letter-spacing:.08em;color:#5b3baa}.food-content>p{font-size:16px;color:#66677c;margin:18px 0 30px}.food-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.food-cards article{padding:20px 13px 21px;text-align:center;background:#f6f8f1;border-radius:21px;min-height:204px}.food-cards article:nth-child(2){background:#f5f6f1}.food-cards article:nth-child(3){background:#f5f0fb}.food-cards article>span{color:#64935a;display:flex;justify-content:center;margin-bottom:16px}.food-cards h3{font-size:15px;font-weight:900;margin-bottom:9px;line-height:1.3}.food-cards p{font-size:12px;line-height:1.45;color:#66677a;margin:0}
.liver-feature{padding:60px 0 90px;background:linear-gradient(100deg,#faf8ff,#fff)}.liver-feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:68px;align-items:center}.liver-feature p{color:#5b6075;font-size:16px;margin:18px 0}.liver-note{display:flex;align-items:flex-start;gap:14px;color:#463879;background:#ebe5f8;border-radius:17px;padding:18px 20px;font-size:14px;line-height:1.55;margin-top:25px}.liver-note svg{width:24px;height:24px;flex:none;stroke:#6840b7;fill:none;stroke-width:1.6}.liver-illustration{background:#fff;border:1px solid #ebe6f7;min-width:0;padding:20px;border-radius:32px;text-align:center;box-shadow:0 24px 45px #22204b10}.liver-illustration img{width:100%;height:auto;object-fit:contain}.liver-illustration span{color:#858598;font-size:11px}
.guide{background:linear-gradient(135deg,#f8f5ff,#eee9fb 65%,#faf9ff);padding:70px 0;overflow:hidden}.guide-grid{display:grid;grid-template-columns:.83fr 1.17fr;gap:100px;align-items:center}.book-art{min-height:490px;display:grid;place-items:center;position:relative}.book-glow{position:absolute;width:360px;height:360px;border-radius:50%;background:#c6b4f1aa;filter:blur(35px)}.book{width:270px;position:relative;transform:perspective(900px) rotateY(-11deg) rotateZ(-8deg);filter:drop-shadow(18px 23px 14px #68539544);border-radius:7px}.book:before{content:'';position:absolute;z-index:-1;width:25px;right:-18px;top:10px;height:99%;background:linear-gradient(90deg,#fff,#d7cde7);transform:skewY(11deg);box-shadow:9px 15px 12px #554d7133}.book img{border-radius:7px;box-shadow:inset 0 0 0 2px #ddd6ec}.book-stamp{position:absolute;bottom:40px;right:10px;background:#fff;color:#623cab;border-radius:100px;padding:12px 17px;font-size:12px;font-weight:900;box-shadow:0 13px 28px #64599a1e;display:flex;align-items:center;gap:9px}.book-stamp svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}.guide-copy>p{margin:20px 0 23px;max-width:600px;color:#616479;font-size:17px}.guide-highlights{display:grid;grid-template-columns:1fr 1fr;gap:14px 20px;margin:25px 0 28px;font-size:14px;font-weight:750}.guide-highlights>div{display:flex;align-items:center;gap:10px}.check{display:grid;place-items:center;flex:none;background:#ddecdb;color:#4f9945;width:22px;height:22px;border-radius:100%;font-weight:900}.fine{font-size:12px!important;color:#868095!important;margin-top:12px!important}
.test-showcase{padding:78px 0}.quiz-panel{display:grid;grid-template-columns:1fr 1fr;gap:70px;background:linear-gradient(110deg,#f4effe,#f1eafb);border-radius:32px;padding:55px 60px;position:relative;overflow:hidden}.quiz-panel:before{content:'';position:absolute;width:250px;height:250px;background:#d9cafa70;border-radius:50%;left:-130px;bottom:-130px}.quiz-copy{position:relative}.quiz-copy>p{margin:21px 0 25px;font-size:16px;color:#62607b}.quiz-minor{display:block;font-size:12px;color:#6c6686;margin-top:18px}.quiz-caption{font-size:12px;color:#6f43bf;letter-spacing:.11em;font-weight:900;margin-bottom:16px}.quiz-examples{display:flex;flex-direction:column;justify-content:center;gap:10px}.quiz-item{display:flex;align-items:center;gap:15px;border-radius:14px;background:#fff;box-shadow:0 8px 15px #6c5e9c0d;padding:17px 20px;font-size:15px;font-weight:700}.quiz-item svg{width:23px;height:23px;fill:none;stroke:#764dbe;stroke-width:1.8;flex:none}
.app{padding:45px 0 105px;position:relative;overflow:hidden}.app:before{content:'';position:absolute;width:500px;height:500px;border-radius:50%;background:#e9defb88;right:-300px;top:120px;z-index:-1}.app-top{display:flex;align-items:center;justify-content:space-between;gap:60px}.app-top p{max-width:720px;font-size:16px;color:#606379;margin:18px 0 0}.app-badge{width:120px;height:120px;flex:none;border-radius:50%;background:#eee6fd;border:8px solid #faf8ff;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#6436b0;box-shadow:0 10px 24px #3e357c15}.app-badge span{font-size:43px;font-weight:900;line-height:1}.app-badge strong{font-size:15px;letter-spacing:.07em}.app-badge small{font-size:11px}.phones{display:flex;justify-content:center;gap:38px;margin:35px 0 33px}.phones figure{margin:0;width:270px;text-align:center}.phone{padding:9px 9px 11px;border-radius:32px;background:linear-gradient(130deg,#222936,#646574,#282932);box-shadow:0 20px 27px #13172630,0 0 0 2px #a2a4b0 inset;overflow:hidden}.phone img{border-radius:24px;width:100%;height:510px;object-fit:cover;object-position:top}.phones figcaption{font-size:13px;font-weight:800;margin-top:14px;color:#555579}.app-bottom{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:center;background:#f9f6ff;border-radius:24px;padding:28px 32px}.app-benefits{display:grid;grid-template-columns:1fr 1fr;gap:18px}.app-benefits span{display:flex;align-items:center;gap:9px;font-size:14px;font-weight:800}.app-benefits svg{width:21px;height:21px;border-radius:50%;background:#75ab6a;stroke:#fff;fill:none;stroke-width:2.7;padding:3px;flex:none}.continuity{display:flex;gap:14px;align-items:flex-start;border-left:1px solid #d6c4ec;padding-left:30px}.continuity>svg{width:35px;height:35px;stroke:#6a45b9;fill:none;stroke-width:1.6;flex:none}.continuity p{margin:0;color:#555170;font-size:14px;line-height:1.6}.app-cta{text-align:center;margin-top:24px}
.faq{padding:70px 0 100px;background:#faf9ff}.faq-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:80px}.faq-grid>div:first-child p{color:#6e7080;margin:15px 0 22px}.faq-photo{width:100%;height:275px;object-fit:cover;border-radius:20px 50px 20px 20px}.faq-list{border-top:1px solid #ded8ea}.faq-list details{border-bottom:1px solid #ded8ea}.faq-list summary{list-style:none;cursor:pointer;padding:22px 42px 22px 3px;font-size:15px;font-weight:800;position:relative}.faq-list summary::-webkit-details-marker{display:none}.faq-list summary:after{content:'+';position:absolute;right:7px;top:18px;font-weight:400;font-size:26px;color:#754cc5}.faq-list details[open] summary:after{content:'−'}.faq-list details p{color:#6b6e7d;font-size:14px;line-height:1.65;padding:0 32px 20px 3px;margin:0}
.final{background:radial-gradient(ellipse at 1% 100%,#9b7ae1 0%,transparent 40%),linear-gradient(105deg,#5830a8,#744dc4);color:#fff;padding:66px 0;overflow:hidden}.final-grid{display:flex;align-items:center;gap:50px}.final-icon{width:170px;height:170px;flex:none;display:grid;place-items:center;border:1px solid #ffffff57;border-radius:50%;background:#ffffff1a;box-shadow:0 0 0 28px #ffffff08}.final-icon svg{width:135px}.final h2{font-size:clamp(30px,3.7vw,49px);line-height:1.17}.final h2 em{color:#fff;font-weight:600}.final p{color:#ece4ff;font-size:16px;margin:16px 0 23px}.final-actions{display:flex;gap:12px;flex-wrap:wrap}.footer{background:#fff;padding:27px 0}.footer-grid{display:flex;align-items:center;justify-content:space-between;gap:25px}.footer img{width:160px}.footer p{font-size:11px;color:#858391;max-width:430px;margin:0}.footer-grid>div{display:flex;gap:18px;font-size:12px;color:#77738e;font-weight:700}
.test-overlay[hidden]{display:none}.test-overlay{position:fixed;inset:0;z-index:90;background:#17142dce;padding:3vh 20px;display:grid;place-items:center;backdrop-filter:blur(7px)}.test-modal{height:min(90vh,860px);width:min(630px,100%);background:#fff;border-radius:22px;overflow:hidden;box-shadow:0 30px 90px #0004;display:flex;flex-direction:column}.modal-top{height:58px;min-height:58px;background:#fbf9ff;border-bottom:1px solid #eee6fa;display:flex;justify-content:space-between;align-items:center;padding:0 20px;color:#382368}.modal-top strong{font-size:14px}.modal-top button{border:0;border-radius:50%;width:34px;height:34px;color:#5b428d;background:#eee9f7;font-size:19px}.test-modal iframe{width:100%;border:0;flex:1}.modal-open{overflow:hidden}
@media(max-width:1100px){.desktop-nav{gap:17px}.hero-inner{gap:24px}.hero h1{font-size:49px}.food-grid{gap:35px}.food-cards{gap:7px}.food-cards article{padding:18px 8px}.guide-grid{gap:44px}.phones{gap:24px}.phone img{height:430px}.phones figure{width:235px}}
@media(max-width:820px){.container{width:min(100% - 36px,650px)}.header-inner{height:68px}.brand img{width:164px}.desktop-nav,.nav-cta{display:none}.hamburger{display:block;margin-left:auto}.mobile-nav{display:flex;flex-direction:column;padding:12px 22px 23px;border-top:1px solid #eee6f5;gap:14px;background:#fff}.mobile-nav a{font-weight:750;padding:5px 0}.mobile-nav .pill{align-self:flex-start}.hero-inner,.food-grid,.liver-feature-grid,.guide-grid,.quiz-panel,.faq-grid{grid-template-columns:1fr;gap:25px}.hero-inner{padding:48px 0 72px}.hero h1{font-size:clamp(38px,8vw,55px)}.hero-visual{order:-1;max-width:610px;width:100%;margin:auto}.hero-image{height:360px;border-radius:30px 75px 30px 70px}.hero-label{left:14px}.hero-copy{order:2}.under-hero{padding:45px 0}.under-head{grid-template-columns:1fr;gap:10px}.icon-strip{grid-template-columns:1fr 1fr}.icon-strip article:nth-child(2){border-right:0}.icon-strip article:nth-child(-n+2){border-bottom:1px solid #e7dff3}.food-story{padding:20px 0 70px}.food-photo{height:430px}.food-cards article{min-height:170px;padding:18px 12px}.liver-feature{padding:45px 0 60px}.guide{padding:40px 0 55px}.guide-grid{gap:15px}.book-art{min-height:410px}.book-stamp{right:60px}.quiz-panel{padding:36px 26px}.app{padding:32px 0 70px}.phones{gap:15px}.phones figure{width:31%}.phone{border-radius:20px;padding:6px}.phone img{height:auto;aspect-ratio:945/2048;border-radius:16px}.app-bottom{grid-template-columns:1fr}.continuity{border-left:0;border-top:1px solid #d6c4ec;padding:18px 0 0}.faq{padding:55px 0 70px}.faq-photo{height:220px}.final-grid{gap:25px}.final-icon{width:110px;height:110px}.final-icon svg{width:90px}}
@media(max-width:540px){.container{width:calc(100% - 34px)}.hero-inner{padding:27px 0 66px}.hero-image{height:300px}.hero-label{bottom:0;left:3px;padding:10px 15px}.hero-label strong{font-size:13px}.hero h1{font-size:39px;margin-top:18px}.hero-lead{font-size:19px}.hero-desc{font-size:14px}.hero-actions{flex-direction:column;align-items:stretch}.hero-actions .pill{width:100%;font-size:13px}.hero-trust{gap:8px 17px;font-size:11px}.under-head h2,.food-content h2,.liver-feature h2,.guide h2,.quiz-panel h2,.app h2,.faq h2,.final h2{font-size:32px}.under-head p{font-size:14px}.icon-strip{padding:13px 4px}.icon-strip article{gap:7px;flex-direction:column;justify-content:flex-start;padding:12px 5px}.icon-strip strong{font-size:11px}.icon-bubble{width:47px;height:47px}.food-photo{height:300px;border-radius:25px 70px 25px 65px}.food-cards{grid-template-columns:repeat(3,1fr);gap:6px}.food-cards article{padding:15px 5px;min-height:187px}.food-cards h3{font-size:12px}.food-cards p{font-size:11px}.food-content>p{font-size:14px}.liver-feature p{font-size:14px}.guide-highlights{grid-template-columns:1fr;gap:13px}.book-art{min-height:380px}.book{width:220px}.book-stamp{right:3px;bottom:25px}.guide-copy>p{font-size:15px}.guide-copy .pill{white-space:normal;text-align:center}.quiz-panel{padding:30px 20px}.quiz-item{font-size:13px;padding:14px}.app-top{gap:15px}.app-top p{font-size:14px}.app-badge{width:80px;height:80px;border-width:4px}.app-badge span{font-size:29px}.app-badge strong{font-size:10px}.app-badge small{font-size:9px}.phones{gap:7px;margin:25px 0 22px}.phones figure{width:32%}.phone{padding:4px;border-radius:14px}.phone img{border-radius:10px}.phones figcaption{font-size:10px}.app-bottom{padding:18px}.app-benefits{grid-template-columns:1fr 1fr;gap:14px}.app-benefits span{font-size:11px}.continuity p{font-size:12px}.faq-photo{height:190px}.final{padding:48px 0}.final-grid{flex-direction:column;align-items:flex-start}.final-icon{width:85px;height:85px}.final-icon svg{width:70px}.final p{font-size:14px}.final-actions{width:100%;flex-direction:column}.final-actions .pill{width:100%}.footer-grid{flex-wrap:wrap}.footer p{order:2;flex-basis:100%}.test-overlay{padding:0}.test-modal{height:100dvh;width:100%;border-radius:0}.modal-top{height:50px;min-height:50px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.pill{transition:none}}


/* V3 · Footer istituzionale, conforme allo stile Dieta Social */
.footer{background:#243e37;color:#f5f8f5;padding:36px 0 32px}
.footer-grid{display:grid;grid-template-columns:160px minmax(0,1fr);gap:35px;align-items:start}
.footer-brand{display:block;padding-top:26px}
.footer-brand img{width:150px;max-width:100%;filter:brightness(0) invert(1);opacity:.97}
.footer-content{min-width:0}
.footer-description{color:#e3ece8!important;font-size:13px!important;max-width:none!important;margin:0 0 10px!important}
.footer-nav{display:flex;flex-wrap:wrap;gap:12px 19px;margin-bottom:10px}
.footer-nav a{color:#fff;font-size:12px;font-weight:800;text-decoration:none;line-height:1.5}
.footer-nav a:hover,.footer-nav a:focus-visible{text-decoration:underline;text-underline-offset:3px}
.footer-legal{display:flex;flex-wrap:wrap;gap:12px 20px;margin:6px 0 14px}
.footer-legal a,.footer-link{color:#f1f9f4;font-size:12px;font-weight:500;text-decoration:underline;text-underline-offset:3px}
.footer-link{font-family:inherit;padding:0;background:transparent;border:0;cursor:pointer}
.footer-disclaimer{font-size:11px!important;color:#d3e1d9!important;max-width:none!important;margin:0!important;opacity:.82}
/* Pre-test entry gate, with concise privacy information */
.test-overlay{padding:clamp(8px,2.3vh,25px) 16px;overflow:auto}
.test-modal{width:min(975px,100%);height:auto;max-height:min(94dvh,970px);overflow:auto;border-radius:25px;background:#fffefa;box-shadow:0 22px 85px #1511226b;display:block;position:relative}
.test-intro{padding:39px 42px 37px;position:relative}
.test-intro-main{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(220px,.9fr);gap:45px;align-items:center}
.modal-close,.modal-close-inner,.privacy-close-x{width:41px;height:41px;display:grid;place-items:center;position:absolute;right:26px;top:25px;border:0;border-radius:50%;font-size:27px;line-height:1;color:#635672;background:#f0e9f2;cursor:pointer;z-index:2}
.modal-close:hover,.modal-close-inner:hover,.privacy-close-x:hover{background:#e7daf0}
.modal-eyebrow{display:block;font-size:12px;letter-spacing:.125em;font-weight:900;color:#5e5ab0;margin-bottom:16px}
.intro-heading h2{font:700 clamp(35px,4.1vw,52px)/1.04 Georgia,serif;letter-spacing:-.033em;color:#172a57;margin:0 0 17px;max-width:600px}
.intro-heading h2 em{font-weight:700;color:#6157bc;font-style:italic}
.intro-heading p{font-size:15px;line-height:1.65;color:#43515c;margin:0 0 13px;max-width:590px}
.intro-heading p.intro-sub{font-size:17px;line-height:1.55}
.intro-heading .intro-caution{padding:12px 15px;border-left:3px solid #796ed3;border-radius:3px 12px 12px 3px;background:#f5f2fd;font-size:13px}
.intro-heading .intro-guide-info{font-size:14px}
.intro-guide-art{margin:38px 0 0;text-align:center}
.intro-guide-art img{width:min(270px,100%);border-radius:12px;object-fit:contain;box-shadow:0 24px 48px #55436b32;transform:rotate(2deg)}
.intro-guide-art figcaption{font-size:12px;font-weight:700;line-height:1.4;color:#757b7e;margin:23px auto 0;max-width:260px}
.intro-acknowledge{border:1px solid #e4dcf0;border-radius:18px;padding:15px 17px 13px;background:#fff;margin:17px 0 20px;max-width:600px}
.intro-checkbox-label{display:flex;gap:11px;align-items:flex-start;font-size:13px;color:#303c4c;line-height:1.5;cursor:pointer}
.intro-checkbox-label>input{width:16px;height:16px;margin-top:3px;accent-color:#5d56b7;flex-shrink:0}
.inline-link{background:transparent;border:0;padding:0;color:#5550ae;font:inherit;font-weight:800;text-decoration:underline;text-underline-offset:2px;cursor:pointer}
.intro-acknowledge p{color:#6c737e;font-size:11px;line-height:1.55;margin:8px 0 0 27px}
.intro-actions{display:flex;gap:12px;flex-wrap:wrap}
.intro-actions .pill{font-size:13px;min-height:50px;padding:14px 22px;cursor:pointer}
.intro-actions .pill:disabled{opacity:.52;cursor:not-allowed;filter:grayscale(.2)}
.test-modal:has(.test-quiz:not([hidden])){height:min(92dvh,870px);overflow:hidden}
.test-quiz{height:100%;display:flex;flex-direction:column}
.test-quiz .modal-top{min-height:55px;height:55px;position:relative;background:#f8f6fe}
.test-quiz .modal-top strong{color:#2e2d65}
.test-quiz .modal-close-inner{top:9px;right:15px;width:36px;height:36px;font-size:24px}
.test-quiz iframe{border:0;width:100%;flex:1;min-height:0}
.privacy-overlay[hidden],.test-overlay[hidden],.test-intro[hidden],.test-quiz[hidden]{display:none!important}
.privacy-overlay{position:fixed;inset:0;z-index:125;background:#17142dc9;backdrop-filter:blur(6px);padding:20px;overflow-y:auto;display:grid;place-items:center}
.privacy-card{position:relative;width:min(510px,100%);padding:32px 35px 27px;background:#fff;border:1px solid #e5dfee;border-radius:20px;box-shadow:0 24px 90px #12102653;color:#38404a}
.privacy-close-x{top:16px;right:16px;width:35px;height:35px;font-size:22px}
.privacy-card h2{font:700 31px/1.15 Georgia,serif;color:#1a2b5e;margin:0 32px 15px 0}
.privacy-card p{font-size:14px;line-height:1.64;margin:0 0 16px;color:#34404e}
.privacy-card strong{color:#1b2d56}
.privacy-full-link{color:#5750af;text-decoration:underline;text-underline-offset:3px;font-weight:750}
.privacy-card .pill{min-height:43px;padding:10px 21px;cursor:pointer;font-size:13px}
@media(max-width:800px){.footer-grid{grid-template-columns:1fr;gap:12px}.footer-brand{padding:0}.footer-brand img{width:155px}.footer{padding:29px 0}.test-intro-main{grid-template-columns:minmax(0,1fr) 170px;gap:20px}.test-intro{padding:30px 26px}.intro-heading h2{font-size:38px}.intro-guide-art img{width:163px}.intro-guide-art figcaption{font-size:11px}}
@media(max-width:610px){.test-overlay{padding:0}.test-modal{border-radius:0;min-height:100dvh;max-height:none;width:100%;overflow:auto}.test-intro{padding:28px 21px 40px}.test-intro-main{display:flex;flex-direction:column;gap:0;align-items:stretch}.intro-heading h2{font-size:clamp(31px,9vw,41px);padding-right:32px}.intro-heading p.intro-sub{font-size:15px}.intro-heading p{font-size:13px}.modal-close{right:15px;top:15px;width:36px;height:36px}.intro-guide-art{margin:12px auto 17px;order:-1;display:none}.intro-acknowledge{margin-top:13px}.intro-actions{display:grid;grid-template-columns:1fr;gap:9px}.intro-actions .pill{width:100%;justify-content:center}.test-modal:has(.test-quiz:not([hidden])){height:100dvh;min-height:100dvh;max-height:100dvh}.privacy-card{padding:28px 23px 24px}.privacy-overlay{padding:12px;align-items:center}.privacy-card h2{font-size:27px}.footer-description{line-height:1.5}.footer-nav{gap:10px 17px}.footer-legal{gap:10px 18px}}
@media(max-height:720px) and (min-width:611px){.test-intro{padding-top:20px;padding-bottom:20px}.intro-heading h2{font-size:35px;margin-bottom:10px}.intro-heading p{line-height:1.48;margin-bottom:9px}.intro-heading p.intro-sub{font-size:14px}.intro-guide-art img{width:170px}.intro-acknowledge{margin:10px 0 12px}}

/* Preserve official colored logo over the dark footer */
.footer-brand{justify-self:start;background:#fff;border-radius:12px;padding:11px 13px;margin-top:18px;box-shadow:0 8px 22px #11251c25}
.footer-brand img{filter:none;width:155px;opacity:1}
@media(max-width:800px){.footer-brand{margin-top:0}}

/* V4 · Bottom bar: official negative-colour logo and quieter institutional hierarchy */
.footer{background:#203d35;color:#fff;padding:45px 0 34px;border-top:1px solid #31564a}
.footer-grid{display:grid;grid-template-columns:190px minmax(0,1fr);gap:42px;align-items:start}
.footer-brand{justify-self:start;display:block!important;padding:10px 0 0!important;margin:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}
.footer-brand img{width:188px!important;height:auto;max-width:100%;filter:none!important;opacity:1!important;object-fit:contain}
.footer-content{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;font-size:initial!important;font-weight:initial!important;color:#fff!important}
.footer-description{font-size:13px!important;color:#e8f0ec!important;font-weight:550;max-width:none!important;margin:0 0 16px!important}
.footer-nav{display:flex;flex-wrap:wrap;column-gap:20px;row-gap:13px;padding-bottom:19px;border-bottom:1px solid #ffffff2b;margin:0 0 15px}
.footer-nav a{font-size:13px!important;font-weight:750;line-height:1.3;color:#fff}
.footer-legal{display:flex;gap:14px 23px;flex-wrap:wrap;margin:0 0 14px}
.footer-legal a,.footer-link{color:#d9ede2!important;font-size:12px!important;font-weight:500}
.footer-disclaimer{font-size:11px!important;line-height:1.65!important;color:#d2e5da!important;opacity:.86;margin:0!important;max-width:750px!important}
@media(max-width:800px){.footer{padding:32px 0 28px}.footer-grid{grid-template-columns:1fr;gap:16px}.footer-brand img{width:170px!important}.footer-description{margin-bottom:13px!important}.footer-nav{column-gap:15px;row-gap:13px}.footer-nav a{font-size:12px!important}}
@media(max-width:540px){.footer-grid{display:grid!important;gap:15px}.footer-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 12px}.footer-legal{gap:11px 17px}.footer-description{font-size:12px!important}}
/* Accessible-only label inside the embedded quiz; do not visually display it. */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}


/* ===== Production parts (percorso-salute-epatica/tools/page-extra.css, appended by port-prototype.py) ===== */
/* The img width/height attributes only reserve space while loading: the CSS decides the size. */
img{height:auto}
/* The scroll lock iOS respects while the test window is open (the script sets top). */
body.ds-modal-open{position:fixed;left:0;right:0;overflow:hidden}
/* The footer's ecosystem links (shared list), in the V4 footer's style. */
.footer-eco{display:flex;flex-wrap:wrap;column-gap:20px;row-gap:13px;padding-bottom:19px;border-bottom:1px solid #ffffff2b;margin:0 0 15px}
.footer-eco a{color:#fff;font-size:14px;font-weight:750;line-height:1.3;text-decoration:none}
.footer-eco a:hover,.footer-eco a:focus-visible{text-decoration:underline;text-underline-offset:3px}
@media(max-width:540px){.footer-eco{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 12px}}

/* The test window. Its height came from :has() only: without it (Firefox before 121,
   older Android WebViews) the iframe shrank to 150 px. The script sets .quiz-open. */
@media(min-width:611px){
  .test-modal{max-height:min(94vh,970px);max-height:min(94dvh,970px)}
  .test-modal.quiz-open{height:min(92vh,870px);height:min(92dvh,870px);overflow:hidden}
}
@media(max-width:610px){
  /* Full screen, scrolling inside: the privacy step is taller than a phone, and the
     centred window grew past the top of the screen (title and × out of reach at
     320×640). 100vh before 100dvh, and clear of the notch / status bar. */
  .test-modal{height:100vh;height:100dvh;min-height:0;max-height:100vh;max-height:100dvh;overflow:auto;padding-top:env(safe-area-inset-top)}
  .test-modal.quiz-open{overflow:hidden}
}

/* Phones (GUIDE §17.0): nothing wider than the screen at 320/360/412 px. */
h1,h2,h3{overflow-wrap:break-word}
@media(max-width:820px){
  .hero-inner>*,.food-grid>*,.liver-feature-grid>*,.guide-grid>*,.quiz-panel>*,.faq-grid>*,.app-bottom>*,.under-head>*,.app-top>div{min-width:0}
}
@media(max-width:540px){
  /* The fixed 39 px headline: «alimentazione,» was wider than a 320 px screen. */
  .hero h1{font-size:clamp(30px,9.4vw,39px)}
  /* Buttons may wrap instead of running off the card. */
  .pill{white-space:normal;text-align:center}
  .quiz-copy .pill,.app-cta .pill,.guide-copy .pill{width:100%}
}

/* ===== Readability (GUIDE §11.1, from the start; percorso-salute-epatica/tools/readability.css) =====
   Same design; only sizes, weights and greys. Body text 16 px / 500, descriptions and
   microcopy at least 14 px, uppercase labels 11–13 px, buttons 16 px / 800, text
   contrast at least 4.5:1 (the greys below are 6–8:1). Last in the stylesheet, so it
   wins over the client's phone rules; the footer needs !important like the client's V4. */
p{font-weight:500}
.eyebrow{font-size:13px}
.pill,.pill-large{font-size:16px}
/* The menu keeps 14 px on one line: at 15 px it wrapped between 821 and 1000 px. */
.desktop-nav a{white-space:nowrap}
.hero-desc{font-size:16px;color:#55586e}
.hero-trust{font-size:14px;color:#55586e}
.hero-label{font-size:11px}
.hero-label strong{font-size:16px}
.under-head p{font-size:16px;color:#55586e}
.icon-strip strong{font-size:15px}
.photo-corner{font-size:12px}
.food-content>p{font-size:16px;color:#55586e}
.food-cards h3{font-size:16px}
.food-cards p{font-size:15px;color:#55586e}
.liver-feature p{font-size:16px}
.liver-note{font-size:15px}
.liver-illustration span{font-size:14px;color:#55586e}
.guide-copy>p{font-size:17px;color:#4d5068}
.guide-highlights{font-size:15px}
.fine{font-size:14px!important;color:#55586e!important}
.book-stamp{font-size:13px}
.quiz-copy>p{font-size:16px}
.quiz-minor{font-size:14px;color:#55586e}
.quiz-item{font-size:16px}
.app-top p{font-size:16px}
.app-badge small{font-size:12px}
.phones figcaption{font-size:14px}
.app-benefits span{font-size:15px}
.continuity p{font-size:15px}
.faq-grid>div:first-child p{color:#55586e}
.faq-list summary{font-size:17px}
.faq-list details p{font-size:16px;color:#4f5368}
.final p{font-size:16px}
.footer-description{font-size:14px!important}
.footer-legal a,.footer-link{font-size:14px!important}
.footer-disclaimer{font-size:14px!important;line-height:1.6!important;opacity:1!important}
/* The test window's privacy step and the short notice. */
.intro-heading p{font-size:16px}
.intro-heading p.intro-sub{font-size:17px}
.intro-heading .intro-caution,.intro-heading .intro-guide-info{font-size:15px}
.intro-checkbox-label{font-size:15px}
.intro-acknowledge p{font-size:14px;color:#55586e}
.intro-actions .pill{font-size:16px}
.intro-guide-art figcaption{font-size:14px;color:#55586e}
.privacy-card p{font-size:15px}
.privacy-card .pill{font-size:16px}
@media(max-height:720px) and (min-width:611px){.intro-heading p.intro-sub{font-size:16px}}
@media(max-width:610px){.intro-heading p.intro-sub{font-size:16px}}
@media(max-width:540px){
  .hero-label strong{font-size:15px}
  .hero-actions .pill{font-size:16px}
  .icon-strip strong{font-size:14px}
  /* Three cards side by side left about 90 px per card at 320 px: one column, so the text can be 15 px. */
  .food-cards{grid-template-columns:1fr;gap:10px}
  .food-cards article{min-height:0;padding:18px 20px}
  .guide-copy>p{font-size:16px}
  .quiz-item{font-size:15px}
  .app-badge strong,.app-badge small{font-size:11px}
  .app-benefits span{font-size:14px}
}
