/* Tokens on Toast, direzione 1B / Filo. Valori dal brand kit v1.0 del 27 settembre 2026. */
@font-face{font-family:'Bricolage Grotesque';src:url('/fonts/BricolageGrotesque-Bold.ttf') format('truetype');font-weight:700;font-display:swap}
@font-face{font-family:'Instrument Sans';src:url('/fonts/InstrumentSans-Regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:'Instrument Sans';src:url('/fonts/InstrumentSans-Bold.ttf') format('truetype');font-weight:700;font-display:swap}
@font-face{font-family:'JetBrains Mono';src:url('/fonts/JetBrainsMono-Regular.woff2') format('woff2');font-weight:400;font-display:swap}

:root{
  --forest:#173C30;--sage:#D7E7DD;--lilac:#E8DEF0;--white:#FFFFFF;
  --muted:#52665D;--line:#CAD7CF;--tint:#EDF3EF;--line-dark:#587268;
  --container:1232px;--gutter:48px;--section:92px;
  --ease:cubic-bezier(.2,.75,.25,1);
  /* Nomi delle variabili del sito precedente, ancora letti da alcune pagine. */
  --text:var(--forest);--verde-notte:var(--forest);--verde-profondo:var(--forest);--verde-medio:var(--forest);--testo:var(--muted);--carta:var(--white);--menta:var(--sage);--lime-fluo:var(--white);--grad-fluo:var(--sage);--grad-aurora:var(--forest);
  font-family:'Instrument Sans',Arial,sans-serif;color:var(--forest);background:var(--white);font-synthesis:none;
  -webkit-text-size-adjust:100%;text-size-adjust:100%
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:24px}
body{margin:0;background:var(--white);color:var(--forest);overflow-x:clip}
body,input,button,textarea,select{font-family:'Instrument Sans',Arial,sans-serif}
img{max-width:100%;height:auto;display:block}
figure,p,h1,h2,h3{margin:0}
a{color:inherit;text-underline-offset:4px;text-decoration-thickness:1px}
button,input{font:inherit;color:inherit}
button{cursor:pointer}
button:disabled{cursor:wait}
button,a,input,summary{touch-action:manipulation}
[hidden]{display:none!important}
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
::selection{background:var(--lilac);color:var(--forest)}
:focus-visible{outline:3px solid var(--forest);outline-offset:5px}

h1,h2,h3,.display{font-family:'Bricolage Grotesque',Arial,sans-serif;font-weight:700;letter-spacing:-.045em;text-wrap:balance}
h1{font-size:clamp(40px,5vw,68px);line-height:1.03}
h2{font-size:clamp(32px,3.4vw,49px);line-height:1.08}
h3{font-size:27px;line-height:1.12;letter-spacing:-.035em}
p{line-height:1.65;text-wrap:pretty}

.wrap{width:min(var(--container),calc(100% - 2 * var(--gutter)));margin-inline:auto}
.eyebrow{font-size:12px;letter-spacing:.11em;text-transform:uppercase;font-weight:700;line-height:1.4}
.desc{font-size:20px;line-height:1.55}
.text-link{font-weight:700;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px;transition:text-decoration-thickness .2s}
a.text-link:hover,.guide-card:hover .text-link,.path-card:hover .text-link{text-decoration-thickness:2px}
.section-space{padding-block:var(--section)}

/* Pulsanti */
.button,.btn-print{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:14px 24px;border-radius:8px;background:var(--forest);color:var(--white);border:1px solid var(--forest);font-weight:700;font-size:16px;line-height:1.4;text-decoration:none;transition:background .2s,color .2s,border-color .2s}
.button:hover,.btn-print:hover{background:var(--sage);color:var(--forest)}
.button-secondary{background:transparent;color:var(--forest)}
.button-secondary:hover{background:var(--sage)}

/* Testata */
.skip-link{position:fixed;left:16px;top:12px;z-index:600;background:var(--forest);color:var(--white);padding:14px 20px;border-radius:8px;font-weight:700;transform:translateY(-160%);transition:transform .2s}
.skip-link:focus,.skip-link:focus-visible{transform:none;outline-color:var(--lilac)}
.site-header{position:relative;z-index:100;background:var(--white);border-bottom:1px solid var(--line)}
.header-inner{min-height:92px;display:flex;align-items:center;justify-content:space-between;gap:32px}
.brand{display:block;flex-shrink:0;padding-block:8px}
.brand img{width:254px;height:auto;aspect-ratio:654/112}
.primary-nav{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:700}
.primary-nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border-radius:8px;text-decoration:none;text-underline-offset:6px}
.primary-nav a:hover,.primary-nav a[aria-current]{text-decoration:underline}
.primary-nav .nav-newsletter{margin-left:10px;padding:0 20px;background:var(--sage);transition:background .2s}
.primary-nav .nav-newsletter:hover{background:var(--lilac);text-decoration:none}
.menu-toggle{display:none;align-items:center;gap:10px;min-height:44px;padding:0 14px;margin-right:-14px;border:0;border-radius:8px;background:transparent;font-weight:700;font-size:15px}
.menu-icon{position:relative;width:20px;height:14px}
.menu-icon::before,.menu-icon::after,.menu-icon span{content:'';position:absolute;left:0;right:0;height:2px;background:currentColor;border-radius:2px;transition:transform .25s var(--ease),opacity .2s}
.menu-icon::before{top:0}.menu-icon span{top:6px}.menu-icon::after{top:12px}
.menu-toggle[aria-expanded=true] .menu-icon::before{transform:translateY(6px) rotate(45deg)}
.menu-toggle[aria-expanded=true] .menu-icon span{opacity:0}
.menu-toggle[aria-expanded=true] .menu-icon::after{transform:translateY(-6px) rotate(-45deg)}

/* Home: apertura */
.hero{padding:64px 0 88px}
.hero-grid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:clamp(40px,5vw,72px);align-items:center}
.hero-copy .eyebrow{margin-bottom:28px}
.hero h1{font-size:clamp(46px,5.6vw,78px)}
.hero h1 .line{display:block}
.hero-sub{font-size:20px;line-height:1.55;margin-top:28px;max-width:31em}
.hero-actions{display:flex;align-items:center;gap:28px;flex-wrap:wrap;margin-top:36px}
.hero-photo{position:relative}
.hero-photo img{width:100%;aspect-ratio:3/2;object-fit:cover;object-position:50% 45%;border-radius:20px 20px 4px 20px;background:var(--tint)}

/* Home: percorsi */
.paths{background:var(--sage);padding:48px 0}
.paths-inner{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:stretch}
.paths-intro{display:flex;align-items:center}
.paths-intro h2{font-size:clamp(30px,2.8vw,38px)}
.path-card{display:flex;flex-direction:column;align-items:start;gap:12px;padding:4px 0 4px 36px;border-left:1px solid var(--line-dark);text-decoration:none}
.path-card h3{font-size:28px}
.path-card p{font-size:16px;line-height:1.55;max-width:34em}
.path-card .text-link{margin-top:auto;padding-top:6px;font-size:15px}

/* Titoli di sezione */
.section-heading{display:flex;align-items:end;justify-content:space-between;gap:32px;margin-bottom:40px}
.section-heading .eyebrow{margin-bottom:16px}
.section-heading>div{max-width:720px}

/* Schede delle guide */
.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.guide-card{position:relative;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:var(--white);text-decoration:none;isolation:isolate;transition:transform .25s var(--ease),border-color .25s}
.card-top{position:absolute;inset:0 0 auto;z-index:1;display:flex;justify-content:space-between;align-items:center;padding:18px 22px;font-size:11px;text-transform:uppercase;letter-spacing:.08em;font-weight:700;line-height:1.3}
.card-top img{display:none}
.card-body{display:flex;flex-direction:column;align-items:start;gap:14px;padding:24px 22px 22px;flex:1}
.card-body h3{font-size:27px}
.card-body p{font-size:16px;line-height:1.5;color:var(--muted)}
.card-foot{display:flex;width:100%;align-items:baseline;justify-content:space-between;gap:12px;margin-top:auto;padding-top:10px;font-size:14px}
.card-foot span:last-child{color:var(--muted);font-size:13px}
.guide-art{display:flex;align-items:center;justify-content:center;overflow:hidden;background:var(--sage);pointer-events:none}
.art--scrittura,.art--memoria,.art--creare{background:var(--lilac)}
.art--scelta,.art--sicurezza{background:var(--tint)}
.guide-art img{width:100%;height:100%;object-fit:contain;transform:rotate(-4deg) scale(.94);transform-origin:50% 60%;transition:transform .4s var(--ease)}
.guide-card:nth-child(even) .guide-art img{transform:rotate(3deg) scale(.94)}
.guide-art--card{height:212px;padding:40px 16px 12px;flex-shrink:0}
.guide-art--card img{max-width:232px}

/* Home: la prima guida occupa due colonne e due righe, le altre la affiancano */
@media(min-width:901px){
  .cards--featured .guide-card:first-child{grid-column:span 2;grid-row:span 2}
  .cards--featured .guide-card:first-child .guide-art--card{flex:1;height:auto;min-height:300px;padding:64px 32px 24px}
  .cards--featured .guide-card:first-child .guide-art--card img{max-width:400px;max-height:400px}
  .cards--featured .guide-card:first-child .card-top{padding:24px 32px;font-size:12px}
  .cards--featured .guide-card:first-child .card-body{flex:none;padding:30px 32px 28px;gap:14px}
  .cards--featured .guide-card:first-child h3{font-size:clamp(32px,3vw,42px)}
  .cards--featured .guide-card:first-child p{font-size:18px;max-width:30em}
}

/* Home: chi siamo */
.about-teaser{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:clamp(40px,7vw,112px);align-items:center;border-top:1px solid var(--line)}
.about-teaser figure{position:relative;max-width:460px}
.about-teaser figure img{width:100%;aspect-ratio:3/4;object-fit:cover;object-position:50% 30%;border-radius:16px 16px 16px 4px;background:var(--tint)}
.about-teaser figcaption{font-size:13px;font-weight:700;padding-top:12px}
.about-teaser h2{margin-bottom:4px}
.about-teaser p{font-size:18px;margin-top:22px;max-width:34em}
.about-teaser .text-link{display:inline-block;margin-top:28px}

/* Avvisi sulle nuove guide */
.newsletter-section{scroll-margin-top:0}
.newsletter-home .newsletter-inner{display:grid;grid-template-columns:minmax(0,6fr) minmax(0,5fr);gap:clamp(40px,7vw,112px);align-items:center}
.newsletter-home .newsletter-content{order:-1}
.newsletter-home .newsletter-photo{margin:0;justify-self:end;width:100%;max-width:420px}
.newsletter-home .newsletter-photo img{width:100%;aspect-ratio:2/3;object-fit:cover;border-radius:16px 16px 4px 16px}
.newsletter-content .eyebrow{margin-bottom:22px;color:var(--sage)}
.newsletter-section:not(.newsletter-home) .newsletter-content{max-width:620px;margin-inline:auto}

/* Footer */
.site-footer{background:var(--forest);color:var(--white);padding:64px 0 32px;border-top:1px solid var(--line-dark)}
.footer-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) minmax(0,1fr);gap:56px;padding-bottom:48px;border-bottom:1px solid var(--line-dark)}
.footer-brand{display:inline-block}
.footer-brand img{width:254px;height:auto;aspect-ratio:654/112}
.footer-intro p{font-size:18px;line-height:1.5;margin-top:22px;max-width:18em}
.footer-column{display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.footer-column h2{font:700 13px/1.4 'Instrument Sans',Arial,sans-serif;letter-spacing:.11em;text-transform:uppercase;color:var(--sage);margin:6px 0 12px}
.footer-column a,.footer-column button{display:inline-flex;align-items:center;min-height:32px;padding:0;border:0;background:none;color:var(--white);font:400 16px/1.5 'Instrument Sans',Arial,sans-serif;text-decoration:none;text-align:left}
.footer-column a:hover,.footer-column button:hover{text-decoration:underline;text-underline-offset:5px}
.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-top:26px;font-size:13px}
.footer-instagram{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;margin:-8px;border-radius:8px;color:var(--white);opacity:.9;transition:background .2s,opacity .2s}
.footer-instagram:hover{opacity:1;background:rgba(255,255,255,.12)}
.footer-instagram svg{display:block}
.site-footer :focus-visible{outline-color:var(--lilac)}

/* Percorso e testate delle pagine interne */
.crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:13px;line-height:1.5;color:var(--muted);margin-bottom:32px}
.crumbs a{text-decoration:none}
.crumbs a:hover{text-decoration:underline}
.crumbs .sep{color:var(--line-dark)}
.page-hero{padding:48px 0 56px}
.page-hero .eyebrow{margin-bottom:18px}
.page-hero h1{max-width:15em}
.page-hero .desc{max-width:36em;margin-top:22px}
.library-hero{background:var(--sage)}
.library-hero .crumbs{color:var(--forest)}
.page-hero .wrap:has(.guide-art--category){display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:48px;align-items:end}
.page-hero .wrap:has(.guide-art--category)>*:not(.guide-art){grid-column:1}
.guide-art--category{grid-column:2;grid-row:1/span 5;align-self:center;width:260px;height:240px;background:transparent}

/* Raccolta guide */
.library{padding-top:48px;padding-bottom:92px}
.library-tools{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;padding-bottom:28px;margin-bottom:28px;border-bottom:1px solid var(--line)}
.library-search{display:flex;flex-direction:column;gap:10px;max-width:640px}
.library-search label{font-size:15px;font-weight:700}
.search-field{position:relative}
.search-field input{display:block;width:100%;min-height:56px;padding:15px 52px 15px 18px;border:1px solid var(--forest);border-radius:8px;background:var(--white);color:var(--forest);font-size:17px;appearance:none}
.search-field input::placeholder{color:var(--muted);opacity:1}
.search-field svg{position:absolute;right:18px;top:50%;translate:0 -50%;pointer-events:none}
.filter-row{display:flex;gap:8px;flex-wrap:wrap}
.filter-chip{min-height:40px;padding:8px 14px;border:1px solid var(--line);background:var(--white);color:var(--forest);border-radius:999px;font-size:14px;font-weight:700;line-height:1.3;transition:background .2s,border-color .2s,color .2s}
.filter-chip:hover{border-color:var(--forest)}
.filter-chip[aria-pressed=true]{background:var(--forest);border-color:var(--forest);color:var(--white)}
.library-status{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:24px}
.library-count{font-size:15px;font-weight:700}
.library-reset{padding:0;border:0;background:none;font-size:15px}
.search-empty{background:var(--lilac);padding:40px;border-radius:16px;max-width:760px}
.search-empty h2{font-size:32px;margin-bottom:14px}
.search-empty p{font-size:17px}
.search-empty .button{margin-top:24px}
.topics{padding-bottom:92px}
.topics h2{font-size:clamp(28px,2.6vw,36px);margin-bottom:24px}
.category-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:24px;border-top:1px solid var(--line)}
.category-links a{display:flex;align-items:center;min-height:64px;padding:12px 0;border-bottom:1px solid var(--line);font-weight:700;text-decoration:none;font-size:16px}
.category-links a:hover{text-decoration:underline}
.category-back{margin-top:40px}

/* Guida */
.reading-wrap{width:min(820px,calc(100% - 2 * var(--gutter)));margin:0 auto;padding:40px 0 88px}
.article-head{display:grid;grid-template-columns:minmax(0,1fr) 200px;column-gap:40px;padding-bottom:36px;margin-bottom:40px;border-bottom:1px solid var(--line)}
.article-head>*{grid-column:1}
.article-head .guide-art--article{grid-column:2;grid-row:1/span 4;align-self:start;width:200px;height:180px;margin-top:8px;border-radius:16px;padding:10px}
.article-meta{display:flex;align-items:center;gap:16px;flex-wrap:wrap;font-size:14px;color:var(--muted)}
.tag{display:inline-flex;align-items:center;min-height:32px;background:var(--sage);color:var(--forest);padding:4px 12px;border-radius:999px;font-size:13px;font-weight:700;text-decoration:none}
.tag:hover{text-decoration:underline}
.article-head h1{font-size:clamp(38px,4.4vw,61px);line-height:1.07;margin-top:22px}
.article-head .desc{font-size:21px;margin-top:22px;color:var(--muted)}
.byline{font-size:14px;color:var(--muted);margin-top:22px}
.article-actions{grid-column:1/-1!important;display:flex;gap:14px;flex-wrap:wrap;margin-top:28px}
.article-actions .btn-print,.article-actions .button{min-height:48px;padding:10px 20px;font-size:15px}
.article-toc{border:1px solid var(--line);border-radius:12px;margin-bottom:44px}
.article-toc summary{display:flex;align-items:center;min-height:56px;padding:0 22px;cursor:pointer;font-weight:700;list-style:none}
.article-toc summary::-webkit-details-marker{display:none}
.article-toc summary::after{content:'';width:9px;height:9px;margin-left:auto;border-right:2px solid;border-bottom:2px solid;transform:rotate(45deg) translateY(-3px);transition:transform .2s}
.article-toc[open] summary::after{transform:rotate(-135deg) translate(-2px,-1px)}
.article-toc ol{padding:0 22px 20px 44px;margin:0}
.article-toc li{margin-top:10px;font-size:16px;line-height:1.45}
.article-body>.section{margin-top:48px}
.article-body>.section:first-child{margin-top:0}
.article-body h2{font-size:31px;line-height:1.16;margin-bottom:18px}
.article-body p,.article-body li{font-size:18px;line-height:1.72}
.article-body ul{padding-left:22px;margin:16px 0}
.article-body li{padding-left:6px;margin:10px 0}
.article-body li::marker{color:var(--line-dark)}
.article-body .guide-steps{padding-left:28px;margin:16px 0 24px}
.guide-screenshot{margin:24px 0}
.guide-screenshot>a{display:block}
.guide-screenshot img{display:block;width:100%;height:auto;border:1px solid var(--line);border-radius:8px}
.guide-screenshot .screenshot-detail{position:relative;overflow:hidden;width:100%;max-width:420px;margin-inline:auto;border:1px solid var(--line);border-radius:8px}
.guide-screenshot .screenshot-detail img{position:absolute;max-width:none;border:0;border-radius:0}
.guide-screenshot figcaption{margin-top:10px;font-size:14px;line-height:1.6;color:var(--muted)}
.guide-screenshot figcaption a,.article-body .guide-sources a{text-decoration:underline;text-underline-offset:3px}
.article-body .guide-note{margin-top:18px}
.article-body .guide-sources{margin-top:14px;font-size:14px;line-height:1.6;color:var(--muted)}
.prompt-box{margin:26px 0;background:var(--forest);color:var(--white);border-radius:16px;overflow:hidden}
.prompt-head{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:12px 14px 12px 24px;border-bottom:1px solid var(--line-dark)}
.prompt-label{font-size:14px;font-weight:700}
.prompt-copy{min-height:40px;min-width:88px;background:var(--sage);color:var(--forest);border:0;border-radius:8px;padding:8px 16px;font-size:14px;font-weight:700;transition:background .2s}
.prompt-copy:hover{background:var(--white)}
.prompt-copy[data-copiato]{background:var(--lilac)}
.prompt-copy:focus-visible{outline-color:var(--lilac)}
.prompt-text{white-space:pre-wrap;overflow-wrap:anywhere;font-family:'JetBrains Mono',ui-monospace,Menlo,Consolas,monospace;font-size:15px;line-height:1.7;padding:24px;margin:0;tab-size:2}
.related{border-top:1px solid var(--line);padding-top:40px;margin-top:64px}
.related h2{font-size:31px;margin-bottom:24px}
.related-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.related-link{display:flex;flex-direction:column;gap:10px;padding:22px;border:1px solid var(--line);border-radius:12px;text-decoration:none;transition:background .2s,border-color .2s}
.related-link:hover{background:var(--tint);border-color:var(--forest)}
.related-link .eyebrow{font-size:11px}
.related-link h3{font-size:22px}
.related-link p{font-size:15px;line-height:1.5;color:var(--muted)}

/* Chi siamo */
.about-hero{padding-bottom:88px}
.about-heading{max-width:760px}
.about-heading .desc{max-width:34em}
.about-photo-pair{display:grid;grid-template-columns:minmax(0,1.778fr) minmax(0,1fr);gap:24px;margin-top:48px;align-items:end}
.about-photo-pair img{width:100%;height:auto;border-radius:16px;background:var(--tint)}
.about-photo-pair figcaption{margin-top:12px;font-size:15px}
.about-story{background:var(--sage);padding:88px 0}
.about-story-grid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(40px,7vw,112px)}
.about-story-grid .eyebrow{margin-bottom:20px}
.about-story-grid p{font-size:20px;line-height:1.6;margin-bottom:22px;max-width:34em}
.about-story-grid p:last-child{margin-bottom:0}
.about-principles{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:clamp(40px,7vw,112px);align-items:center}
.about-principles figure{max-width:440px}
.about-principles img{width:100%;aspect-ratio:2/3;object-fit:cover;object-position:50% 35%;border-radius:16px 16px 4px 16px}
.about-principles .eyebrow{margin-bottom:18px}
.about-principles .article-body{margin-top:28px}
.about-principles .article-body h2{font-size:24px;margin-bottom:10px}
.about-principles .article-body>.section{margin-top:26px}
.about-principles .article-body p{font-size:17px}
.about-principles .article-body .text-link{display:inline-block;margin-top:12px}
.contact-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px 48px;align-items:center;background:var(--lilac);padding:40px 44px;border-radius:16px}
.contact-panel h2{font-size:clamp(28px,2.6vw,36px)}
.contact-panel p{font-size:17px;grid-column:1}
.contact-panel .text-link{grid-column:2;grid-row:1/span 2}
.about-contact{padding-bottom:92px}

/* Contatti */
.contact-page{width:min(var(--container),calc(100% - 2 * var(--gutter)));margin:0 auto;padding:56px 0 104px}
.contact-page h1{max-width:14em}
.contact-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,440px);gap:clamp(48px,9vw,144px);align-items:start;margin-top:40px}
.contact-grid .desc{max-width:28em}
.contact-card{background:var(--lilac);border-radius:16px;padding:36px}
.contact-page .contact-card h2{font-size:28px;margin:0 0 14px}
.contact-page .contact-card p{font-size:17px;margin:0}
.contact-card a{overflow-wrap:anywhere}
.contact-social{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:22px;padding-top:18px;border-top:1px solid rgba(23,60,48,.18);font-weight:700;line-height:1.45}
.contact-instagram{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;border-radius:8px;text-decoration:none;transition:background .2s}
.contact-instagram:hover{background:var(--white)}

/* Informative */
.legal-page,.page{width:min(820px,calc(100% - 2 * var(--gutter)));margin:0 auto;padding:56px 0 92px}
.legal-page h1,.page h1{font-size:clamp(38px,4vw,57px)}
.legal-page h2,.page h2{font-size:28px;margin-top:40px;margin-bottom:14px}
.legal-page p,.legal-page li,.page p,.page li{font-size:17px;line-height:1.7}
.legal-page p,.page p{margin-bottom:16px}
.legal-page table,.page table{display:block;overflow-x:auto;max-width:100%;border-collapse:collapse}
.legal-page td,.legal-page th,.page td,.page th{border:1px solid var(--line);padding:12px;text-align:left}
.legal-page td:last-child,.legal-page th:last-child{min-width:6.5em}
.terms-page .updated{font-size:14px;color:var(--muted);margin-top:16px}

/* 404 */
.error-page{text-align:center;padding:96px 24px 120px}
.error-page>img{width:96px;height:96px;margin:0 auto 32px}
.error-page .eyebrow{margin-bottom:18px}
.error-page h1{font-size:clamp(40px,5vw,66px)}
.error-page p{max-width:32em;font-size:19px;margin:24px auto 32px}
.error-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:16px}

/* Finestra per il PDF */
.pdf-gate{position:fixed;inset:0;z-index:1000;background:rgba(23,60,48,.6);display:flex;align-items:center;justify-content:center;padding:20px}
.pdf-gate-card{position:relative;max-width:480px;width:100%;max-height:calc(100dvh - 40px);overflow-y:auto;background:var(--white);padding:40px 36px 32px;border-radius:16px;display:flex;flex-direction:column;gap:16px}
.pdf-gate-close{position:absolute;top:10px;right:10px;width:44px;height:44px;border:0;border-radius:8px;background:transparent;font-size:28px;line-height:1;color:var(--forest)}
.pdf-gate-close:hover{background:var(--tint)}
.pdf-gate-title{font-family:'Bricolage Grotesque',Arial,sans-serif;font-size:30px;font-weight:700;line-height:1.1;letter-spacing:-.04em;padding-right:36px}
.pdf-gate-body{font-size:16px;line-height:1.6}
.pdf-gate-form{display:flex;flex-direction:column;gap:14px}
.pdf-gate-label{font-size:15px;font-weight:700;margin-bottom:-6px}
.pdf-gate-input{min-height:52px;padding:14px 16px;border:1px solid var(--forest);border-radius:8px;width:100%;color:var(--forest);background:var(--white);font-size:16px}
.pdf-gate-consent{display:flex;align-items:start;gap:10px;font-size:14px;line-height:1.5}
.pdf-gate-consent input{flex:none;width:18px;height:18px;margin:2px 0 0;accent-color:var(--forest)}
.pdf-gate-btn{min-height:52px;padding:14px 20px;border:1px solid var(--forest);background:var(--forest);color:var(--white);border-radius:8px;font-weight:700;transition:background .2s,color .2s}
.pdf-gate-btn:hover{background:var(--sage);color:var(--forest)}
.pdf-gate-cancel{align-self:center;min-height:44px;padding:0 12px;background:transparent;border:0;color:var(--forest);text-decoration:underline;text-underline-offset:4px;font-size:14px;font-weight:700}
.pdf-gate-note{font-size:13px;line-height:1.6;color:var(--muted)}
.pdf-gate-error{font-size:15px;line-height:1.55;padding:12px 14px;background:var(--lilac);border-radius:8px}
.pdf-gate-success{display:flex;flex-direction:column;gap:20px}
.pdf-gate-success p{margin:0;font-size:17px;line-height:1.6}

/* Occhielli dentro blocchi che impostano già la dimensione dei paragrafi */
.path-card .eyebrow,.about-story-grid .eyebrow,.error-page .eyebrow,.about-principles .eyebrow,.legal-page .eyebrow{font-size:12px;line-height:1.4;margin-top:0}

/* Movimento: breve, legato allo scorrimento o all'interazione */
@media(prefers-reduced-motion:no-preference){
  .reveal-on .reveal{opacity:0;transform:translateY(22px);transition:opacity .65s var(--ease),transform .65s var(--ease)}
  .reveal-on .reveal.is-visible{opacity:1;transform:none}
  .guide-card.art-enter .guide-art img{animation:art-enter .65s var(--ease) both}
  @keyframes art-enter{from{translate:0 14px}to{translate:0 0}}
}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
  .guide-card:hover,.guide-card:focus-visible{transform:translateY(-6px);border-color:var(--forest)}
  .guide-card:hover .guide-art img,.guide-card:focus-visible .guide-art img{transform:translateY(-4px) rotate(2deg) scale(.99)}
  .guide-card:nth-child(even):hover .guide-art img,.guide-card:nth-child(even):focus-visible .guide-art img{transform:translateY(-4px) rotate(-3deg) scale(.99)}
  .hero-photo img,.about-teaser figure img{transition:transform .6s var(--ease)}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition:none!important;animation:none!important}
}

/* Schermi grandi */
@media(min-width:1500px){.hero h1{font-size:80px}}

/* Tablet */
@media(max-width:1050px){
  :root{--gutter:32px;--section:76px}
  .header-inner{gap:20px}
  .brand img{width:220px}
  .primary-nav{gap:2px}
  .primary-nav a{padding:0 10px}
  .hero{padding:48px 0 72px}
  .hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:36px}
  .hero h1{font-size:clamp(44px,6vw,62px)}
  .hero-sub{font-size:18px}
  .hero-photo img{aspect-ratio:4/5;object-position:58% 45%}
  .paths-inner{gap:28px}
  .path-card{padding-left:24px}
  .path-card h3{font-size:24px}
  .card-body h3,.guide-card .card-body h3{font-size:24px}
  .about-teaser,.newsletter-home .newsletter-inner,.about-principles{gap:44px}
  .about-story-grid{gap:44px}
  .footer-grid{gap:36px}
}

/* Tra tablet e telefono */
@media(max-width:900px){
  .cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .related-list{grid-template-columns:1fr}
  .contact-grid{grid-template-columns:1fr;gap:36px}
  .contact-card{max-width:480px;width:100%;justify-self:end}
  .category-links{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Telefono */
@media(max-width:760px){
  :root{--gutter:20px;--section:58px}
  h2{font-size:clamp(28px,7.4vw,36px)}
  .desc{font-size:18px}
  .header-inner{min-height:76px;flex-wrap:wrap;gap:0 16px}
  .brand img{width:210px}
  .js .menu-toggle{display:inline-flex}
  .primary-nav{width:100%;flex-wrap:wrap;gap:4px;padding:4px 0 16px}
  .js .primary-nav{display:none}
  .js .primary-nav.is-open{display:flex;flex-direction:column;align-items:stretch;padding:8px 0 20px;border-top:1px solid var(--line)}
  .js .primary-nav.is-open a{min-height:52px;padding:0 4px;font-size:18px;border-bottom:1px solid var(--line);border-radius:0}
  .js .primary-nav.is-open .nav-newsletter{margin:16px 0 0;padding:0 20px;border:0;border-radius:8px;justify-content:center}
  .hero{padding:28px 0 64px}
  .hero-grid{grid-template-columns:1fr;gap:36px}
  .hero-copy .eyebrow{font-size:11px;margin-bottom:20px}
  .hero h1{font-size:clamp(40px,11.4vw,60px);max-width:none}
  .hero-sub{font-size:18px;margin-top:20px}
  .hero-actions{margin-top:28px;gap:24px}
  .hero-photo img{aspect-ratio:4/3;object-position:50% 40%;border-radius:16px 16px 4px 16px}
  .paths{padding:40px 0}
  .paths-inner{grid-template-columns:1fr;gap:28px}
  .path-card{padding:22px 0 0;border-left:0;border-top:1px solid var(--line-dark)}
  .path-card h3{font-size:25px}
  .section-heading{flex-direction:column;align-items:start;gap:18px;margin-bottom:28px}
  .cards{gap:16px}
  .guide-art--card{height:190px;padding-top:40px}
  .guide-art--card img{max-width:200px}
  .card-body{padding:22px 18px 20px}
  .about-teaser{grid-template-columns:1fr;gap:32px}
  .about-teaser figure{max-width:none}
  .about-teaser figure img{aspect-ratio:4/5}
  .about-teaser p{font-size:17px}
  .newsletter-home .newsletter-inner{grid-template-columns:1fr;gap:36px}
  .newsletter-home .newsletter-content{order:0}
  .newsletter-home .newsletter-photo{justify-self:stretch;max-width:none}
  .newsletter-home .newsletter-photo img{aspect-ratio:4/5;object-position:50% 30%}
  .site-footer{padding:48px 0 28px}
  .footer-grid{grid-template-columns:1fr 1fr;gap:36px 24px;padding-bottom:36px}
  .footer-intro{grid-column:1/-1}
  .footer-brand img{width:220px}
  .footer-intro p{font-size:17px;margin-top:16px}
  .footer-column a,.footer-column button{min-height:40px;font-size:15px}
  .footer-bottom{padding-top:22px}
  .page-hero{padding:28px 0 40px}
  .crumbs{margin-bottom:24px}
  .page-hero .desc{margin-top:18px}
  .page-hero .wrap:has(.guide-art--category){display:block}
  .guide-art--category{width:100%;max-width:280px;height:190px;margin:24px 0 -12px}
  .library{padding-top:32px;padding-bottom:64px}
  .filter-chip{min-height:40px;padding:8px 12px;font-size:13px}
  .search-field input{font-size:16px;padding-left:14px;padding-right:42px}
  .search-field svg{right:14px}
  .search-empty{padding:28px 22px}
  .topics{padding-bottom:64px}
  .reading-wrap{padding-top:24px;padding-bottom:64px}
  .article-head{display:block;padding-bottom:28px;margin-bottom:32px}
  .article-head .guide-art--article{width:100%;height:170px;margin:22px 0 4px;padding:8px}
  .article-head h1{font-size:clamp(34px,9.6vw,44px);margin-top:18px}
  .article-head .desc{font-size:18px}
  .article-body h2{font-size:28px}
  .article-body p,.article-body li{font-size:17px;line-height:1.7}
  .article-body>.section{margin-top:40px}
  .prompt-head{padding:10px 10px 10px 18px}
  .prompt-text{padding:18px;font-size:14px}
  .related{margin-top:48px}
  .about-hero{padding-bottom:56px}
  .about-photo-pair{grid-template-columns:1fr;gap:28px;margin-top:32px}
  .about-story{padding:56px 0}
  .about-story-grid{grid-template-columns:1fr;gap:24px}
  .about-story-grid p{font-size:18px}
  .about-principles{grid-template-columns:1fr;gap:36px}
  .about-principles figure{max-width:none}
  .about-principles img{aspect-ratio:4/5}
  .contact-panel{grid-template-columns:1fr;padding:28px 24px}
  .contact-panel .text-link{grid-column:1;grid-row:auto}
  .about-contact{padding-bottom:64px}
  .contact-page{padding:32px 0 72px}
  .contact-grid{gap:28px;margin-top:28px}
  .contact-card{justify-self:stretch;max-width:none;padding:26px 22px}
  .legal-page,.page{padding-top:32px}
  .error-page{padding:64px 20px 88px}
  .pdf-gate-card{padding:36px 22px 24px}
}
@media(max-width:480px){
  .cards{grid-template-columns:1fr}
  .card-body h3,.guide-card .card-body h3{font-size:26px}
  .category-links{grid-template-columns:1fr}
}
@media(max-width:360px){
  .menu-toggle{gap:8px;padding:0 8px;margin-right:-8px}
  .footer-grid{grid-template-columns:1fr}
  .brand img{width:170px}
  .footer-brand img{width:200px}
  .hero-actions{gap:18px}
}

@media print{
  .no-print,.site-header,.site-footer,.newsletter-section,.article-actions,.article-toc,.related,.skip-link,.guide-art{display:none!important}
  .reveal{opacity:1!important;transform:none!important}
  body{background:#fff;color:#173C30}
  .reading-wrap{width:100%;padding:0}
  .article-head{display:block}
  .article-head h1{font-size:32px}
  .article-head .desc{font-size:16px}
  .article-body h2{font-size:23px}
  .article-body p,.article-body li{font-size:12pt}
  .prompt-box{color:#173C30;background:#D7E7DD;break-inside:avoid}
  .prompt-head{border-color:#173C30}
  .prompt-copy{display:none}
  .prompt-text{font-size:10pt}
  @page{margin:17mm}
}

/* Ordered exercise blocks, scoped to guides that use the rich source format. */
.rich-section h3{font-family:'Bricolage Grotesque',sans-serif;font-size:23px;line-height:1.3;margin:32px 0 14px}
.rich-section p a,.rich-section li a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.rich-section code{font-family:'JetBrains Mono',monospace;font-size:.85em;overflow-wrap:anywhere}
.guide-table-scroll{overflow-x:auto;margin:24px 0;max-width:100%;border:1px solid var(--bosco,#173C30);border-radius:12px}
.guide-table{width:100%;border-collapse:collapse;font-size:15px;line-height:1.5}
.guide-table th,.guide-table td{padding:12px;min-width:105px;text-align:left;vertical-align:top;border-bottom:1px solid #D7E7DD;overflow-wrap:break-word}
.guide-table th{background:#D7E7DD;font-weight:700}
.guide-table tr:last-child td{border-bottom:0}
.guide-table-scroll:focus-visible{outline:2px solid #173C30;outline-offset:3px}
@media print{.guide-table-scroll{overflow:visible}.guide-table{font-size:10pt}.guide-table th,.guide-table td{min-width:0;padding:6px}}
