/* Revisione editoriale: superfici chiare, testo leggibile e movimento facoltativo. */
:root {
  --ink: #12283d;
  --ink-soft: #354c61;
  --muted: #496176;
  --blue: #0864c8;
  --blue-deep: #064c99;
  --paper: #fcfdff;
  --mist: #f0f6fa;
  --line: #d5e3ed;
}
body { color: var(--ink); }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.eyebrow { color: #075ba9; font-size: 11px; letter-spacing: .12em; }
.button, .arrow-link { font-size: 14px; }
.button { min-height: 48px; border-radius: 7px; }
.button-blue { background: #0864c8; box-shadow: 0 8px 20px #075ecb1f; }
.arrow-link { line-height: 1.5; }
.arrow-link:hover { text-decoration: underline; text-underline-offset: 5px; }

.home-hero { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); min-height: 715px; padding-block: 76px; background: radial-gradient(ellipse at var(--glow-x,78%) var(--glow-y,43%), #b4e7fa91, transparent 43%), linear-gradient(125deg,#fff 7%,#f8fcff 57%,#eaf6fc 100%); }
.hero-copy h1 { font-size: clamp(46px, 5.3vw, 74px); line-height: 1.04; letter-spacing: -.055em; }
.home-hero .hero-lead { max-width: 535px; color: #354f64; font-size: 18px; line-height: 1.7; }
.home-hero .hero-note { color: #496176; font-size: 13px; }
.hero-emblem p { max-width: 290px; text-align: center; color: #3e607b; font-size: 12px; line-height: 1.7; letter-spacing: .035em; }
.hero-field { opacity: .5; }
.hero-scroll { margin-top: 24px; font-size: 13px; }
.hero-emblem img { filter: drop-shadow(0 18px 26px #17649a25) drop-shadow(0 0 24px #6bcaff33); }
.section-heading { align-items: start; gap: 48px; }
.section-heading h2, .featured-heading h2 { max-width: 740px; font-size: clamp(32px, 3.8vw, 48px); line-height: 1.13; }
.section-heading > p { max-width: 330px; margin-top: 31px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.short-values article, .short-values article:first-child, .short-values article:last-child { padding: 28px; min-height: 245px; border-color: #d8e5ed; background: linear-gradient(145deg,#fff,#f7fbfd); }
.short-values article > span { color: #186db3; font-size: 26px; }
.short-values h3 { margin-top: 24px; font-size: 21px; line-height: 1.25; }
.short-values p { color: var(--muted); font-size: 15px; line-height: 1.75; }
.home-benefit { gap: 38px; padding-block: 68px; background: radial-gradient(circle at 86% 50%,#fff9,transparent 30%),linear-gradient(115deg,#e5f6fc,#d5edf8); }
.home-benefit h2 { max-width: 740px; line-height: 1.13; }
.home-benefit > div > p:last-child { max-width: 660px; color: #35586f; font-size: 16px; line-height: 1.7; }
.home-product { grid-template-columns: minmax(160px,.6fr) minmax(0,1fr); gap: 48px; background: radial-gradient(circle at 20% 50%,#dff3fc,transparent 31%),linear-gradient(120deg,#f8fcff,#fff); }
.home-product p:not(.eyebrow) { max-width: 600px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.home-featured { background: linear-gradient(140deg,#f0f7fb,#f8fbfd); }
.featured-types { gap: 16px; }
.featured-types small { font-size: 11px; line-height: 1.65; letter-spacing: .075em; }
.featured-types span { color: #3c607b; font-size: 14px; }
.featured-types strong { line-height: 1.3; }
.home-network { padding-block: 58px; }

.page-hero { padding-top: 78px; padding-bottom: 64px; }
.page-hero h1 { max-width: 950px; font-size: clamp(42px, 5.35vw, 68px); line-height: 1.09; letter-spacing: -.05em; }
.page-hero > p:not(.eyebrow) { max-width: 720px; margin: 21px 0 0; color: #435c70; font-size: 18px; line-height: 1.75; }
.page-hero::after { right: 1%; width: min(29vw,280px); opacity: .55; }
.page-band { background: linear-gradient(110deg,#f0f7fb,#f7fafc); }
.two-col-copy { grid-template-columns: .45fr 1.1fr 1fr; gap: 38px; }
.two-col-copy h2 { font-size: clamp(29px,3.15vw,40px); line-height: 1.18; }
.two-col-copy p:last-child { color: var(--muted); font-size: 16px; line-height: 1.8; }
.section-intro { padding-top: 64px; margin-bottom: 28px; }
.section-intro h2 { max-width: 800px; margin-bottom: 12px; font-size: clamp(30px,3.3vw,42px); line-height: 1.15; }
.section-intro > p:not(.eyebrow) { max-width: 720px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.mission-link { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 34px; border-bottom: 1px solid var(--line); }
.mission-link > div { max-width: 760px; }
.mission-link h2 { margin-bottom: 8px; font-size: clamp(26px,2.8vw,34px); line-height: 1.2; }
.mission-link p { margin-bottom: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.mission-link .eyebrow { margin-bottom: 12px; font-size: 11px; }
.mission-link > .arrow-link { flex-shrink: 0; }
.copy-grid { gap: 18px; }
.copy-card { padding: 28px; border-top: 3px solid #87cbe6; }
.copy-card .eyebrow { font-size: 10px; }
.copy-card h2, .copy-card h3 { font-size: 23px; line-height: 1.3; }
.copy-card p, .commitments p, .partner-panel p, .internship-column > p { color: var(--muted); font-size: 16px; line-height: 1.75; }
.commitments { gap: 24px; }
.commitments article, .commitments article:first-child, .commitments article:last-child { padding: 28px 0; border-right: 0; border-top: 1px solid var(--line); }
.commitments article > span { font-size: 12px; }
.commitments h2 { font-size: 23px; line-height: 1.3; }
.commitments p { max-width: none; }
.cta-band { padding-block: 42px; background: linear-gradient(110deg,#eaf6fc,#dceff8); }
.cta-band p { max-width: 650px; color: #3c5b72; font-size: 15px; line-height: 1.7; }
.team-card h3 { font-size: 18px; }
.team-card p { color: var(--muted); font-size: 14px; }
.team-card img { border-radius: 10px; }
.product-page-hero .product-lead { color: #435c70; font-size: 19px; line-height: 1.75; }
.product-note { margin-top: 24px; padding: 16px 18px; color: #3d5a70; font-size: 14px; line-height: 1.65; }
.status-line { margin-top: 18px; font-size: 12px; }

.press-heading { max-width: 780px; }
.press-heading > p:last-child { color: var(--muted); font-size: 16px; line-height: 1.75; }
.press-grid { gap: 17px; }
.press-item { display: flex; flex-direction: column; padding: 27px; border-top-color: #a4d2e6; }
.press-item .press-meta { font-size: 13px; line-height: 1.7; }
.press-item h3 { font-size: 20px; line-height: 1.4; }
.press-item a { align-self: flex-start; margin-top: auto; font-size: 14px; line-height: 1.7; }
.press-item a:hover { text-decoration: underline; text-underline-offset: 4px; }
.press-more summary { min-height: 48px; font-size: 15px; }
.reading-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; padding-bottom: 80px; }
.reading-grid > article, .reading-grid > a { display: flex; flex-direction: column; align-items: flex-start; padding: 29px; border: 1px solid #cbe0eb; border-radius: 10px; background: linear-gradient(130deg,#f2faff,#fff); }
.reading-grid h3, .reading-grid h2 { margin: 0 0 12px; font-size: 24px; line-height: 1.25; }
.reading-grid p:not(.eyebrow) { color: var(--muted); font-size: 16px; line-height: 1.75; }
.reading-grid .copy-card p:not(.eyebrow) { margin: 0 0 20px; }
.reading-grid .arrow-link { margin-top: auto; }
.selected-readings { border-top: 1px solid var(--line); }
.product-boundary { padding-bottom: 68px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.page-jumps { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.page-jumps a { padding: 9px 15px; border: 1px solid #bed5e5; border-radius: 24px; color: #075ba9; background: #ffffffd9; font-size: 14px; font-weight: 650; }
.page-jumps a:hover { border-color: #89b8d8; background: #eaf5fc; }
.next-project-link { padding-block: 24px 60px; }
.page-notice.wrap { margin-inline: auto; }

.contact-layout { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); align-items: start; gap: 28px; }
.contact-info, .form-panel, .internship-column, .partner-panel { padding: 30px; }
.contact-info dt { color: #48677e; font-size: 11px; }
.contact-info address, .contact-info dd { font-size: 15px; line-height: 1.75; }
.form-panel > p, .opening-list p, .page-notice, .partner-empty { color: var(--muted); font-size: 15px !important; line-height: 1.75; }
.form-panel > .eyebrow { margin: 0 0 14px; color: #075ba9; font-size: 11px !important; }
.form-panel > p:not(.eyebrow) { margin: 0 0 20px; }
.form-preview { margin-top: 24px; border-top: 1px solid var(--line); }
.form-preview > summary { min-height: 48px; padding-block: 16px; color: #075ba9; font-size: 14px; font-weight: 700; line-height: 1.6; cursor: pointer; }
.form-preview > summary:hover { text-decoration: underline; text-underline-offset: 4px; }
.form-preview[open] > summary { margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.field label { font-size: 13px; }
.field input, .field textarea, .field select { font-size: 15px; }
.checkbox-field { font-size: 13px; }
.form-demo-note { color: #665224 !important; font-size: 13px !important; line-height: 1.65; }
fieldset[disabled] .button { opacity: 1; color: #52697b; background: #e6edf2; border-color: #cbd9e3; box-shadow: none; }
fieldset[disabled] .button:hover { transform: none; }
.opening-list h3 { color: #48677e; font-size: 11px; }
.legal-list > a, .legal-list > div { line-height: 1.6; }
.legal-list > a span:last-child, .legal-list > div span:last-child { flex-shrink: 0; font-size: 13px; }
.site-footer { padding-bottom: 72px; background: linear-gradient(120deg,#f0f7fb,#eaf3f8); }
.footer-brand-block > p, .footer-col > a { font-size: 13px; line-height: 1.7; }
.footer-col > strong { font-size: 11px; }
.footer-bottom { font-size: 12px; }
.footer-col a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Sempre raggiungibile; non dipende dallo scorrimento fino al footer. */
.motion-toggle { position: fixed; z-index: 35; right: max(18px,env(safe-area-inset-right)); bottom: max(16px,env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 8px 13px; border: 1px solid #bed1df; border-radius: 24px; color: #294c67; background: #fff; box-shadow: 0 4px 18px #163e5712; font-size: 12px; line-height: 1.5; font-weight: 650; cursor: pointer; }
.motion-toggle::before { content: ""; width: 7px; height: 10px; border-left: 2px solid currentColor; border-right: 2px solid currentColor; }
.motion-toggle[aria-pressed="true"] { border-color: #8fb9d5; background: #eaf5fc; }
.motion-toggle[aria-pressed="true"]::before { width: 8px; height: 8px; border: 0; border-radius: 50%; background: currentColor; }
.motion-toggle:disabled { cursor: default; }
html[data-motion="reduced"], html[data-motion="reduced"] *, html[data-motion="reduced"] *::before, html[data-motion="reduced"] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html[data-motion="reduced"] .hero-emblem img { transform: none !important; translate: none !important; }
html[data-motion="reduced"] .hero-field { display: none; }

@media (min-width:761px) and (max-width:1040px) {
  .hero-copy h1 { font-size: clamp(43px,5.4vw,57px); }
  .home-hero { padding: 62px 30px; gap: 12px; }
  .hero-emblem img { width: min(82%,300px); }
  .hero-emblem p { max-width: 250px; }
  .section-heading { gap: 28px; }
  .section-heading > p { max-width: 260px; font-size: 15px; }
  .short-values article, .short-values article:first-child, .short-values article:last-child { padding: 23px; }
  .copy-card { padding: 23px; }
  .two-col-copy { grid-template-columns: .4fr 1fr 1fr; gap: 24px; }
}
@media (max-width:760px) {
  .home-hero { grid-template-columns: 1fr; min-height: 0; padding: 54px 22px 38px; }
  .hero-copy h1 { font-size: clamp(40px,10.3vw,62px); line-height: 1.07; }
  .home-hero .hero-lead { font-size: 17px; line-height: 1.7; }
  .home-hero .hero-note { font-size: 13px; }
  .hero-actions { gap: 10px; margin-top: 26px; }
  .button { font-size: 13px; padding-inline: 16px; }
  .hero-emblem { margin-top: 20px; min-height: 270px; }
  .hero-emblem p { max-width: none; font-size: 11px; }
  .home-direction { padding-block: 56px; }
  .section-heading { gap: 10px; }
  .section-heading > p { max-width: none; margin-top: 17px; font-size: 16px; }
  .short-values article, .short-values article:first-child, .short-values article:last-child { min-height: 0; padding: 24px; }
  .short-values h3 { margin-top: 17px; }
  .short-values p { font-size: 16px; }
  .home-benefit { padding-block: 46px; }
  .home-benefit h2 { font-size: 34px; }
  .home-product { grid-template-columns: 1fr; gap: 28px; padding: 28px; margin-block: 40px; }
  .product-mark { width: 110px; height: 110px; }
  .home-product p:not(.eyebrow) { font-size: 16px; }
  .home-product .eyebrow { margin-bottom: 14px; }
  .home-network { padding-block: 44px; }
  .page-hero { padding-block: 52px 44px; }
  .page-hero h1 { font-size: clamp(38px,9.7vw,57px); }
  .page-hero > p:not(.eyebrow) { font-size: 17px; }
  .page-hero::after { top: 30px; width: 160px; opacity: .4; }
  .two-col-copy { grid-template-columns: 1fr; gap: 14px; }
  .two-col-copy h2 { font-size: 31px; }
  .section-intro { padding-top: 44px; margin-bottom: 24px; }
  .mission-link { flex-direction: column; align-items: flex-start; gap: 20px; padding-block: 28px; }
  .copy-grid { gap: 14px; }
  .copy-card { padding: 25px; }
  .commitments { gap: 0; }
  .commitments article, .commitments article:first-child, .commitments article:last-child { padding-block: 24px; }
  .team-grid { gap: 27px 16px; }
  .team-card h3 { font-size: 16px; line-height: 1.35; }
  .team-card p { font-size: 13px; }
  .product-page-hero .product-lead { font-size: 18px; }
  .reading-grid { grid-template-columns: 1fr; padding-bottom: 55px; }
  .reading-grid > article, .reading-grid > a { padding: 25px; }
  .press-item { padding: 24px; }
  .press-item h3 { font-size: 19px; }
  .contact-layout { grid-template-columns: 1fr; gap: 20px; }
  .contact-info, .form-panel, .internship-column, .partner-panel { padding: 24px; }
  .legal-list > a, .legal-list > div { align-items: flex-start; flex-direction: column; gap: 6px; font-size: 16px; }
  .footer-col > a { font-size: 13px; }
  .footer-bottom { font-size: 12px; }
  .site-footer { padding-bottom: 74px; }
  .motion-toggle { right: max(12px,env(safe-area-inset-right)); bottom: max(10px,env(safe-area-inset-bottom)); font-size: 11px; min-height: 44px; }
  .nav-dropdown a, .nav-dropdown span { white-space: normal; }
}
@media (max-width:360px) {
  .hero-copy h1 { font-size: 39px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .eyebrow { letter-spacing: .08em; }
  .team-grid { grid-template-columns: 1fr; }
  .team-card img { aspect-ratio: 1.15; }
  .footer-main { column-gap: 20px; }
  .home-product { padding: 24px; }
}

/* Dettagli di lettura e fallback quando il controllo JavaScript non è disponibile. */
.page-notice a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.commitments article > span { color: #186db3; }
html:not(.js) *, html:not(.js) *::before, html:not(.js) *::after { animation: none !important; }
