:root {
  --paper: #f3f1ea;
  --white: #fbfaf5;
  --ink: #11131a;
  --muted: #686970;
  --line: rgba(17, 19, 26, 0.17);
  --blue: #2856d8;
  --blue-dark: #17399c;
  --cyan: #b8ecff;
  --lime: #d8f28a;
  --coral: #ffb49d;
  --lavender: #c7befb;
  --panel: #e7e5df;
  --night: #11131a;
  --night-soft: #1a1d28;
  --deep: #08090e;
  --on-night: #ffffff;
  --feature: #2856d8;
  --feature-panel: #d9e2ff;
  --on-feature: #ffffff;
  --intro-paper: #fbfaf5;
  --logo-surface: #fbfaf5;
  --glow-one: #2147bc;
  --glow-two: #6a2e99;
  --header: 92px;
  font-family: "Instrument Sans", sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}

:root[data-palette="krinia"] {
  --paper: #f6f1ea;
  --white: #fdfaf3;
  --ink: #15110e;
  --muted: #645749;
  --line: rgba(21, 17, 14, .17);
  --blue: #c96a55;
  --blue-dark: #a84f3e;
  --cyan: #f2c8be;
  --lime: #e3d8c4;
  --coral: #e8a89a;
  --lavender: #d9c1c9;
  --panel: #ece4d7;
  --night: #3b2230;
  --night-soft: #2a2018;
  --deep: #15110e;
  --feature: #3b2230;
  --feature-panel: #f2c8be;
  --on-feature: #fdfaf3;
  --intro-paper: #fdfaf3;
  --logo-surface: #fdfaf3;
  --glow-one: #7c3a2e;
  --glow-two: #b3573f;
}

:root[data-palette="mineral"] {
  --paper: #f0f1ea;
  --white: #fafbf5;
  --ink: #101814;
  --muted: #59665f;
  --line: rgba(16, 24, 20, .17);
  --blue: #24745c;
  --blue-dark: #174b3c;
  --cyan: #c5e6dc;
  --lime: #d7e5a8;
  --coral: #d9c5a7;
  --lavender: #c8d5cf;
  --panel: #e2e7df;
  --night: #10251e;
  --night-soft: #183129;
  --deep: #09130f;
  --feature: #174b3c;
  --feature-panel: #cfe3d8;
  --on-feature: #f7faf5;
  --intro-paper: #fafbf5;
  --logo-surface: #fafbf5;
  --glow-one: #195e49;
  --glow-two: #8c9c4b;
}

:root[data-palette="bordeaux"] {
  --paper: #f4efe9;
  --white: #fcf8f4;
  --ink: #211018;
  --muted: #705a63;
  --line: rgba(33, 16, 24, .17);
  --blue: #8d2346;
  --blue-dark: #681832;
  --cyan: #eed7dd;
  --lime: #d9d7ad;
  --coral: #eeb7a6;
  --lavender: #d8c4df;
  --panel: #e9e0dc;
  --night: #2b111c;
  --night-soft: #381625;
  --deep: #190a10;
  --feature: #6f1839;
  --feature-panel: #f0cbd6;
  --on-feature: #fff9f6;
  --intro-paper: #fcf8f4;
  --logo-surface: #fcf8f4;
  --glow-one: #6f1839;
  --glow-two: #a64f68;
}

:root[data-palette="nocturne"] {
  --paper: #151719;
  --white: #1c1f22;
  --ink: #f2f0e9;
  --muted: #a9aca8;
  --line: rgba(242, 240, 233, .18);
  --blue: #d1e86d;
  --blue-dark: #a6bc45;
  --cyan: #90c7c0;
  --lime: #d1e86d;
  --coral: #d9a174;
  --lavender: #9e9acb;
  --panel: #222629;
  --night: #0e1011;
  --night-soft: #202428;
  --deep: #080909;
  --on-night: #f2f0e9;
  --feature: #d1e86d;
  --feature-panel: #edf1dd;
  --on-feature: #101310;
  --intro-paper: #f2f0e9;
  --logo-surface: #f2f0e9;
  --glow-one: #57671f;
  --glow-two: #477f78;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-width: 320px; }
body { max-width: 100vw; overflow-x: clip; background: var(--paper); transition: background-color 520ms ease, color 520ms ease; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.wordmark { font-family: "Unbounded", sans-serif; font-weight: 600; letter-spacing: -.075em; }
.wordmark-accent { color: var(--blue); }
.brand-glyph { position: relative; display: inline-grid; place-items: center; }
.brand-glyph { font-family: "Unbounded", sans-serif; font-weight: 600; line-height: 1; }
.brand-glyph { letter-spacing: -.12em; text-indent: -.06em; }
.brand-glyph::after { content: ""; position: absolute; top: -.105em; left: .315em; }
.brand-glyph::after { width: .165em; aspect-ratio: 1; border-radius: 50%; background: var(--blue); }

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}
.skip-link:focus { transform: none; }

.intro {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: grid;
  place-items: center;
  background: var(--intro-paper);
  overflow: hidden;
  clip-path: inset(0 0 0 0);
  transition: clip-path 760ms cubic-bezier(.77, 0, .18, 1), visibility 760ms;
}
.intro-stage {
  position: relative;
  width: min(660px, calc(100vw - 48px));
  min-height: 470px;
  display: grid;
  place-items: center;
}
.intro-stage::before,
.intro-stage::after {
  content: "";
  position: absolute;
  background: var(--line);
  animation: introGuide 1.25s cubic-bezier(.2, .8, .2, 1) both;
}
.intro-stage::before { left: 50%; top: 0; bottom: 0; width: 1px; transform-origin: top; }
.intro-stage::after { left: 0; right: 0; top: 50%; height: 1px; transform-origin: left; animation-delay: 80ms; }
.intro-sequence,
.intro-caption {
  position: absolute;
  z-index: 3;
  font: 500 11px/1 "IBM Plex Mono", monospace;
  letter-spacing: .06em;
}
.intro-sequence { top: 0; left: 0; animation: introMeta 540ms 140ms both; }
.intro-caption { left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; animation: introMeta 540ms 240ms both; }
.intro-logo-stack { position: relative; z-index: 4; width: 168px; aspect-ratio: 1; }
.intro-logo { position: absolute; inset: 0; width: 100%; height: 100%; font-size: 142px; }
.intro-logo-main { animation: introLogoMain 1.35s cubic-bezier(.16, .84, .2, 1) both; }
.intro-logo-echo { opacity: 0; }
.echo-one { animation: introLogoEchoOne 1.35s 220ms cubic-bezier(.2, .8, .2, 1) both; }
.echo-two { animation: introLogoEchoTwo 1.35s 300ms cubic-bezier(.2, .8, .2, 1) both; }
.intro-word {
  position: absolute;
  z-index: 5;
  top: calc(50% + 116px);
  overflow: hidden;
  padding: .14em .24em .2em;
  margin: -.14em -.24em -.2em;
  font-size: 46px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -.075em;
}
.intro-word > .wordmark { display: inline-flex; white-space: nowrap; animation: introWord 650ms 520ms cubic-bezier(.16, .84, .2, 1) both; }
.intro-scan {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--blue);
  box-shadow: 0 0 24px color-mix(in srgb, var(--blue) 42%, transparent);
  animation: introScan 1.25s 180ms cubic-bezier(.65, 0, .35, 1) both;
}
@keyframes introGuide { from { transform: scale(0); } }
@keyframes introMeta { from { opacity: 0; transform: translateY(10px); } }
@keyframes introLogoMain {
  0% { opacity: 0; transform: scale(.08) rotate(-92deg); }
  42% { opacity: 1; transform: scale(1.12) rotate(5deg); }
  70%, 100% { opacity: 1; transform: scale(1) rotate(0); }
}
@keyframes introLogoEchoOne {
  0%, 28% { opacity: 0; transform: translate(-55px, 0) scale(.45) rotate(-36deg); }
  50% { opacity: .12; }
  78%, 100% { opacity: 0; transform: translate(0, 0) scale(1) rotate(0); }
}
@keyframes introLogoEchoTwo {
  0%, 28% { opacity: 0; transform: translate(55px, 0) scale(.45) rotate(36deg); }
  50% { opacity: .12; }
  78%, 100% { opacity: 0; transform: translate(0, 0) scale(1) rotate(0); }
}
@keyframes introWord { from { opacity: 0; transform: translateY(115%); } }
@keyframes introScan { 0% { transform: translateY(-2px); } 100% { transform: translateY(100vh); } }
body:not(.is-loading) .intro { clip-path: inset(0 0 100% 0); visibility: hidden; pointer-events: none; }

.page-progress { position: fixed; z-index: 850; left: 0; right: 0; top: 0; height: 2px; }
.page-progress span { display: block; width: 100%; height: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; }

.palette-switcher {
  position: fixed;
  z-index: 840;
  left: 50%;
  bottom: 18px;
  width: max-content;
  max-width: calc(100vw - 28px);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border: 1px solid color-mix(in srgb, var(--paper) 18%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 93%, transparent);
  color: var(--paper);
  box-shadow: 0 16px 44px rgba(0, 0, 0, .18);
  transform: translate(-50%, 24px);
  opacity: 0;
  backdrop-filter: blur(18px);
  transition: opacity 600ms 1.1s ease, transform 600ms 1.1s cubic-bezier(.2, .8, .2, 1), background-color 520ms ease;
}
body:not(.is-loading) .palette-switcher { opacity: 1; transform: translate(-50%, 0); }
.palette-label { padding: 0 9px 0 10px; font: 500 7px/1 "IBM Plex Mono", monospace; opacity: .58; }
.palette-option {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 0 11px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: 500 7px/1 "IBM Plex Mono", monospace;
  transition: color 180ms ease, background-color 180ms ease;
}
.palette-option:hover { background: color-mix(in srgb, var(--paper) 10%, transparent); }
.palette-option[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
.palette-option i { width: 9px; height: 9px; flex: none; border: 1px solid rgba(255, 255, 255, .28); border-radius: 50%; }
.option-signal i { background: #2856d8; }
.option-krinia i { background: #c96a55; }
.option-mineral i { background: #24745c; }
.option-bordeaux i { background: #8d2346; }
.option-nocturne i { background: #d1e86d; }
.palette-option:focus-visible { outline: 2px solid var(--paper); outline-offset: 2px; }

.site-header {
  position: absolute;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1500px, calc(100% - 72px));
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(-24px);
  transition: opacity 650ms 180ms ease, transform 650ms 180ms cubic-bezier(.2, .8, .2, 1);
}
body:not(.is-loading) .site-header { opacity: 1; transform: none; }
.brand { display: inline-flex; align-items: center; gap: 14px; width: max-content; }
.brand .wordmark { font-size: 18px; }
.brand-mark { width: 42px; height: 42px; font-size: 35px; }
:root[data-palette="nocturne"] .brand-mark { width: 26px; height: 26px; padding: 3px; border-radius: 50%; background: var(--logo-surface); }
.site-header nav { display: flex; gap: 38px; font-size: 14px; }
.site-header nav a, .nav-cta { transition: opacity 160ms ease; }
.site-header nav a:hover, .nav-cta:hover { opacity: .52; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 26px; }
.header-actions .language-links { display: flex; align-items: center; gap: 9px; color: var(--muted); font: 500 9px/1 "IBM Plex Mono", monospace; }
.nav-cta { justify-self: end; display: flex; align-items: center; gap: 18px; padding-bottom: 8px; border-bottom: 1px solid currentColor; font: 500 11px/1 "IBM Plex Mono", monospace; letter-spacing: .025em; }

.hero { position: relative; min-height: 100svh; padding: calc(var(--header) + 106px) 36px 0; background: var(--paper); overflow: hidden; }
.hero-rail {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--header);
  height: 42px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transition: opacity 500ms 280ms ease;
}
body:not(.is-loading) .hero-rail { opacity: 1; }
.hero-rail-track {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 18px;
  padding: 0 36px;
  font: 500 10px/1 "IBM Plex Mono", monospace;
  white-space: nowrap;
}
.hero-rail-track i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); animation: railPulse 2.4s ease-in-out infinite alternate; }
.hero-rail-track i:nth-of-type(2) { animation-delay: -.5s; }
.hero-rail-track i:nth-of-type(3) { animation-delay: -1s; }
.hero-rail-track i:nth-of-type(4) { animation-delay: -1.5s; }
.hero-rail-track i:nth-of-type(5) { animation-delay: -2s; }
@keyframes railPulse { to { transform: scale(1.8); opacity: .35; } }
.hero-grid { width: min(1500px, 100%); min-height: calc(100svh - var(--header) - 112px); display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(390px, .72fr); gap: 4vw; margin: 0 auto; align-items: center; }
.hero-copy, .hero-bottom, .statement-grid > *, .showcase-title-grid > *, .roles-heading > *, .value-heading > *, .measure-grid > * { min-width: 0; }
.eyebrow, .section-code, .system-meta, .system-status, .hero-index, .value-card > span, .role-grid article > span {
  font: 500 11px/1.25 "IBM Plex Mono", monospace;
  letter-spacing: .05em;
}
.eyebrow { margin: 0 0 40px; color: var(--blue); }
.hero h1 { margin: 0; font-size: clamp(58px, 5.4vw, 96px); line-height: .9; font-weight: 560; font-stretch: 78%; letter-spacing: -.045em; word-spacing: .05em; }
.hero-line { display: block; overflow: hidden; padding: .04em 0 .13em; margin: -.04em 0 -.1em; }
.mobile-break { display: none; }
.hero-line > span { display: block; transform: translateY(118%) rotate(2deg); transform-origin: left bottom; }
.hero-line-accent > span { color: var(--blue); }
body.hero-ready .hero-line > span { animation: heroLineIn 980ms cubic-bezier(.16, .84, .2, 1) both; }
body.hero-ready .hero-line:nth-child(1) > span { animation-delay: 80ms; }
body.hero-ready .hero-line:nth-child(2) > span { animation-delay: 190ms; }
body.hero-ready .hero-line:nth-child(3) > span { animation-delay: 300ms; }
@keyframes heroLineIn { to { transform: translateY(0) rotate(0); } }
.hero-load { opacity: 0; transform: translateY(54px); }
body.hero-ready .hero-load { opacity: 1; transform: none; transition: opacity 920ms cubic-bezier(.2, .75, .2, 1), transform 920ms cubic-bezier(.2, .75, .2, 1); }
body.hero-ready .eyebrow { transition-delay: 40ms; }
body.hero-ready .hero-bottom { transition-delay: 520ms; }
.hero-bottom { display: grid; grid-template-columns: minmax(260px, 570px) 280px; gap: 5vw; align-items: end; margin-top: 54px; }
.hero-bottom p { margin: 0; font-size: 17px; line-height: 1.58; }
.text-link { display: flex; justify-content: space-between; padding: 17px 0; border-block: 1px solid var(--line); font: 500 11px/1 "IBM Plex Mono", monospace; }
.text-link b { font-size: 19px; color: var(--blue); }

.hero-system { position: relative; min-height: 650px; display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--line); background: var(--panel); overflow: hidden; clip-path: inset(24% 0 0); transition-property: opacity, transform, clip-path, background-color, border-color; }
body.hero-ready .hero-system { clip-path: inset(0); transition-delay: 220ms; transition-duration: 1150ms; }
.hero-system::before { content: ""; position: absolute; z-index: 2; left: -15%; right: -15%; top: 0; height: 1px; background: var(--blue); box-shadow: 0 0 28px color-mix(in srgb, var(--blue) 55%, transparent); opacity: 0; }
body.hero-ready .hero-system::before { animation: systemScan 3.6s 900ms cubic-bezier(.65, 0, .35, 1) infinite; }
@keyframes systemScan { 0% { opacity: 0; transform: translateY(0); } 12%, 70% { opacity: .55; } 100% { opacity: 0; transform: translateY(610px); } }
.system-meta, .system-status { display: flex; justify-content: space-between; align-items: center; }
.system-meta { padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.system-meta b { color: var(--blue); font-weight: 500; }
.system-orbit { position: relative; flex: 1; min-height: 500px; }
.orbit { position: absolute; left: 50%; top: 50%; border: 1px solid color-mix(in srgb, var(--blue) 32%, transparent); border-radius: 50%; transform: translate(-50%, -50%); animation: orbitPulse 7s ease-in-out infinite alternate; }
.orbit-a { width: 78%; aspect-ratio: 1; }
.orbit-b { width: 56%; aspect-ratio: 1; animation-delay: -2.3s; }
.orbit-c { width: 34%; aspect-ratio: 1; animation-delay: -4.6s; }
@keyframes orbitPulse { to { transform: translate(-50%, -50%) rotate(12deg) scale(1.035); border-radius: 42%; } }
.system-core { position: absolute; z-index: 3; left: 50%; top: 50%; width: 188px; aspect-ratio: 1; display: grid; place-content: center; justify-items: center; gap: 14px; border-radius: 50%; background: var(--logo-surface); color: #11131a; border: 1px solid rgba(17, 19, 26, .14); box-shadow: 0 28px 75px rgba(17, 19, 26, .15); transform: translate(-50%, -50%); }
.core-mark { width: 76px; height: 76px; font-size: 63px; animation: coreLogoBreath 4.4s ease-in-out infinite; }
@keyframes coreLogoBreath { 50% { transform: rotate(12deg) scale(1.12); } }
.system-core small { font: 500 10px/1.3 "IBM Plex Mono", monospace; text-align: center; }
.system-node { position: absolute; z-index: 4; display: flex; align-items: center; gap: 9px; max-width: 178px; padding: 12px 14px; border: 1px solid rgba(17, 19, 26, .12); background: rgba(251, 250, 245, .94); color: #11131a; box-shadow: 0 14px 30px rgba(17, 19, 26, .07); font: 500 10px/1.2 "IBM Plex Mono", monospace; animation: nodeFloat 5s ease-in-out infinite alternate; }
.system-node i, .system-status i, .board-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px color-mix(in srgb, var(--blue) 12%, transparent); }
.node-a { left: 2%; top: 14%; }
.node-b { right: 2%; top: 21%; animation-delay: -1.2s; }
.node-c { right: 7%; bottom: 8%; animation-delay: -4.4s; }
.node-d { left: 5%; bottom: 12%; animation-delay: -3.6s; }
.node-e { left: 0; top: 42%; animation-delay: -2.1s; }
.node-f { right: 0; top: 50%; animation-delay: -2.8s; }
/* Scanner delle pagine pubbliche: tre soli nodi. Restano sopra e sotto il nucleo,
   mai alla sua altezza: nella colonna stretta il riquadro coprirebbe il marchio. */
.tre-ruoli .node-a { top: 4%; }
.tre-ruoli .node-b { top: 22%; }
.tre-ruoli .node-c { right: auto; left: 4%; bottom: 13%; }
@keyframes nodeFloat { to { transform: translateY(-10px); } }
body:not(.hero-ready) .system-node { opacity: 0; }
body.hero-ready .system-node { animation: nodeEnter 780ms cubic-bezier(.16, .84, .2, 1) both, nodeFloat 5s 1.5s ease-in-out infinite alternate; }
body.hero-ready .node-a { animation-delay: 700ms, 1.5s; }
body.hero-ready .node-b { animation-delay: 840ms, 1.8s; }
body.hero-ready .node-c { animation-delay: 980ms, 2.1s; }
body.hero-ready .node-d { animation-delay: 1120ms, 2.4s; }
body.hero-ready .node-e { animation-delay: 1260ms, 2.7s; }
body.hero-ready .node-f { animation-delay: 1400ms, 3s; }
@keyframes nodeEnter { from { opacity: 0; transform: translateY(34px) scale(.88); } to { opacity: 1; } }
.system-status { padding-top: 17px; border-top: 1px solid var(--line); color: var(--muted); }
.system-status span:first-child { display: flex; align-items: center; gap: 9px; color: var(--ink); }
.hero-index { width: min(1500px, 100%); min-height: 56px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; margin: 0 auto; border-top: 1px solid var(--line); }
.hero-index span::before { content: "•"; padding-right: 10px; color: var(--blue); }

.section-shell { width: min(1500px, calc(100% - 64px)); margin: 0 auto; padding: 124px 0 132px; }
.section-code { display: flex; gap: 15px; color: var(--blue); }
.section-code span { color: var(--muted); }
.section-code.light { color: color-mix(in srgb, var(--on-night) 76%, var(--blue)); }
.section-code.light span { color: rgba(255, 255, 255, .47); }
.statement-grid, .roles-heading, .value-heading { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(300px, .58fr); gap: 8%; align-items: start; margin-top: 52px; }
.statement h2, .showcase h2, .roles h2, .value h2, .scene-heading h2, .krinia h2, .measure h2, .final-cta h2 {
  margin: 0;
  font-size: clamp(56px, 6.2vw, 99px);
  line-height: .92;
  font-weight: 560;
  letter-spacing: -.068em;
}
.statement-copy, .roles-heading > p, .value-heading > p { padding-top: 20px; border-top: 1px solid var(--line); }
.statement-copy p, .roles-heading > p, .value-heading > p { margin: 0 0 20px; font-size: 17px; line-height: 1.58; }
.statement-copy p:last-child { margin-bottom: 0; }

.product-proof { padding-bottom: 0; background: var(--white); overflow: hidden; }
.product-proof-heading { padding-bottom: 72px; }
.proof-title-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(300px, .58fr); gap: 8%; align-items: start; margin-top: 52px; }
.proof-title-grid > p { margin: 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 17px; line-height: 1.58; }
.product-proof h2 { margin: 0; font-size: clamp(56px, 6.2vw, 99px); line-height: .92; font-weight: 560; letter-spacing: -.068em; }
.product-proof-stage { width: min(1500px, calc(100% - 64px)); display: grid; grid-template-columns: minmax(0, 1.34fr) minmax(300px, .66fr); gap: 44px; align-items: start; margin: 0 auto; }
.proof-dashboard { width: 82%; margin: 0; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 34px 90px rgba(21, 17, 14, .12); }
.proof-frame-bar { min-height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; border-bottom: 1px solid var(--line); font: 500 9px/1 "IBM Plex Mono", monospace; color: var(--muted); }
.proof-dashboard img { width: 100%; height: auto; display: block; }
.proof-conversation { position: absolute; right: 0; bottom: 0; width: min(410px, 31%); min-height: 470px; display: flex; flex-direction: column; gap: 16px; padding: 20px; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 28px 72px rgba(21, 17, 14, .18); }
.proof-chat-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 17px; border-bottom: 1px solid var(--line); font: 500 9px/1 "IBM Plex Mono", monospace; }
.proof-chat-head i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px color-mix(in srgb, var(--blue) 12%, transparent); }
.proof-message { max-width: 88%; padding: 14px 16px; font-size: 14px; line-height: 1.52; }
.proof-message-client { align-self: flex-end; background: var(--blue); color: var(--white); }
.proof-message-ai { align-self: flex-start; border: 1px solid var(--line); background: var(--white); }
.proof-memory { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.proof-memory span { display: block; margin-bottom: 9px; color: var(--blue); font: 500 9px/1 "IBM Plex Mono", monospace; }
.proof-memory b { font-size: 13px; line-height: 1.5; font-weight: 520; }
.product-proof-note { width: min(1500px, calc(100% - 64px)); margin: 32px auto 0; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 17px; line-height: 1.55; }
.product-proof-note b { color: var(--ink); font-weight: 600; }
.product-carousel { min-width: 0; }
.carousel-head { min-height: 82px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.carousel-head > div:first-child > span { color: var(--blue); font: 500 10px/1 "IBM Plex Mono", monospace; letter-spacing: .04em; }
.carousel-head strong { display: block; max-width: 380px; margin-top: 9px; font-size: 23px; line-height: 1.15; font-weight: 550; letter-spacing: -.035em; }
.carousel-controls { display: flex; align-items: center; gap: 9px; flex: none; }
.carousel-controls button { width: 42px; height: 42px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-size: 17px; cursor: pointer; transition: color .18s, background-color .18s, border-color .18s; }
.carousel-controls button:hover, .carousel-controls button:focus-visible { border-color: var(--blue); background: var(--paper); color: var(--blue); }
.carousel-controls button:disabled { opacity: .3; cursor: default; }
.carousel-controls span { min-width: 54px; color: var(--muted); font: 500 10px/1 "IBM Plex Mono", monospace; text-align: center; }
.browser-frame { overflow: hidden; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 26px 70px rgba(21, 17, 14, .12); }
.browser-top { height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--panel); }
.browser-top i { width: 8px; height: 8px; border-radius: 50%; background: color-mix(in srgb, var(--ink) 28%, transparent); }
.carousel-track { width: 100%; display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track img { width: 100%; flex: 0 0 100%; display: block; scroll-snap-align: center; scroll-snap-stop: always; }
.dashboard-carousel .carousel-track { aspect-ratio: 1400 / 875; background: var(--panel); }
.dashboard-carousel .carousel-track img { height: 100%; object-fit: cover; }
.device-frame { width: min(100%, 330px); margin: 0 auto; padding: 8px; border: 2px solid var(--ink); border-radius: 32px; background: var(--ink); box-shadow: 0 24px 64px rgba(21, 17, 14, .16); overflow: hidden; }
.device-frame .carousel-track { aspect-ratio: 639 / 1390; border-radius: 23px; background: var(--white); }
.device-frame .carousel-track img { height: 100%; object-fit: cover; object-position: top center; }
.carousel-note { margin: 14px 0 0; color: var(--muted); font: 500 10px/1.45 "IBM Plex Mono", monospace; }

.showcase { padding-bottom: 145px; overflow: hidden; background: var(--white); }
.showcase-heading { padding-bottom: 82px; }
.showcase-title-grid { display: grid; grid-template-columns: 1.18fr .52fr; gap: 10%; }
.showcase-title-grid { align-items: end; margin-top: 58px; }
.showcase-title-grid > p { margin: 0; padding-top: 20px; border-top: 1px solid var(--line); }
.showcase-title-grid > p { font-size: 17px; line-height: 1.58; }
.showcase-track { width: min(1680px, calc(100% - 64px)); display: grid; }
.showcase-track { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 auto; }
.showcase-card { position: relative; min-height: 0; aspect-ratio: 4 / 5; margin: 0; }
.showcase-card { overflow: hidden; background: var(--panel); }
.showcase-card-wide { grid-row: auto; }
.showcase-card::after { content: ""; position: absolute; inset: 48% 0 0; }
.showcase-card::after { background: linear-gradient(transparent, rgba(17, 10, 8, .72)); pointer-events: none; }
.showcase-card img { width: 100%; height: 100%; display: block; }
.showcase-card img { object-fit: cover; transform: scale(1.035); }
.showcase-card img { transition: transform 1.1s cubic-bezier(.2, .75, .2, 1), filter .8s ease; }
.showcase-card:hover img { transform: scale(1); filter: saturate(.88); }
.social-card-kicker { position: absolute; z-index: 2; left: 20px; top: 20px; }
.social-card-kicker { padding: 9px 11px; background: rgba(253, 250, 243, .9); color: #15110e; }
.social-card-kicker { font: 500 9px/1 "IBM Plex Mono", monospace; letter-spacing: .04em; }
.showcase-card figcaption { position: absolute; z-index: 2; left: 25px; }
.showcase-card figcaption { right: 25px; bottom: 23px; display: flex; }
.showcase-card figcaption { justify-content: space-between; align-items: end; gap: 24px; }
.showcase-card figcaption { color: #fffaf4; }
.showcase-card figcaption span { font: 500 10px/1 "IBM Plex Mono", monospace; }
.showcase-card figcaption strong { max-width: 430px; font-size: clamp(24px, 2.1vw, 38px); }
.showcase-card figcaption strong { line-height: 1; font-weight: 520; letter-spacing: -.05em; }
.showcase-card figcaption strong { text-align: right; }
.showcase-proof { width: min(1500px, calc(100% - 64px)); margin: 34px auto 0; }
.showcase-proof { padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); }
.showcase-proof { font-size: 17px; line-height: 1.55; }
.showcase-proof b { color: var(--ink); font-weight: 600; }

.operating-scene { height: 210vh; position: relative; background: var(--night); color: var(--on-night); transition: background-color 520ms ease, color 520ms ease; }
.operating-sticky { position: sticky; top: 0; min-height: 100svh; display: grid; grid-template-columns: .65fr 1.2fr; gap: 8%; align-items: center; width: min(1500px, calc(100% - 64px)); margin: 0 auto; overflow: hidden; }
.scene-heading h2 { margin-top: 42px; font-size: clamp(52px, 5.4vw, 86px); }
.scene-heading > p { max-width: 390px; margin: 30px 0 0; color: rgba(255, 255, 255, .68); font-size: 17px; line-height: 1.55; }
.operation-board { border: 1px solid rgba(255, 255, 255, .18); background: var(--night-soft); transform: translateY(calc((.5 - var(--scene-progress, 0)) * 110px)); box-shadow: 0 40px 110px rgba(0, 0, 0, .22); transition: background-color 520ms ease; }
.board-bar, .board-footer { display: flex; justify-content: space-between; padding: 19px 21px; font: 500 10px/1.25 "IBM Plex Mono", monospace; }
.board-bar { border-bottom: 1px solid rgba(255, 255, 255, .15); }
.board-live { display: flex; align-items: center; gap: 9px; color: color-mix(in srgb, var(--on-night) 72%, var(--blue)); }
.board-live i { background: var(--blue); box-shadow: 0 0 0 5px color-mix(in srgb, var(--blue) 12%, transparent); }
.board-main { position: relative; padding: 24px 26px; }
.board-main ol { position: relative; z-index: 2; margin: 0; padding: 0; list-style: none; }
.board-main li { display: grid; grid-template-columns: 45px 1fr auto; align-items: center; min-height: 112px; padding: 0 18px; border-bottom: 1px solid rgba(255, 255, 255, .12); background: linear-gradient(90deg, rgba(201, 106, 85, calc(max(0, (var(--scene-progress, 0) - var(--step) * .16)) * .22)), transparent 70%); opacity: calc(.46 + min(1, max(0, (var(--scene-progress, 0) * 6 - var(--step)))) * .54); transform: translateX(calc((1 - min(1, max(0, (var(--scene-progress, 0) * 6 - var(--step))))) * -48px)); }
.step-number { font: 500 11px/1 "IBM Plex Mono", monospace; color: #d89a8c; }
.board-main li div { display: flex; flex-direction: column; gap: 8px; }
.board-main li b { font-size: 27px; font-weight: 500; letter-spacing: -.03em; }
.board-main li small { color: rgba(255, 255, 255, .62); font-size: 14px; }
.board-main li em { font: 500 10px/1 "IBM Plex Mono", monospace; color: #d89a8c; font-style: normal; }
.board-footer { border-top: 1px solid rgba(255, 255, 255, .15); color: rgba(255, 255, 255, .45); }

.roles-heading > p, .value-heading > p { margin: 0; }
.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 68px; border-top: 1px solid var(--line); }
.role-grid article { position: relative; min-height: 430px; display: flex; flex-direction: column; padding: 25px 30px 28px 0; border-right: 1px solid var(--line); }
.role-grid article + article { padding-left: 30px; }
.role-grid article:last-child { border-right: 0; }
.role-grid article > span { color: var(--blue); }
.role-icon { position: relative; width: 170px; height: 170px; margin: auto; }
.role-icon i { position: absolute; display: block; border: 1px solid var(--ink); }
.role-ai i:nth-child(1) { inset: 22%; border-radius: 50%; animation: roleSpin 8s linear infinite; }
.role-ai i:nth-child(2) { inset: 8%; border-radius: 45% 55% 60% 40%; animation: roleSpin 11s linear infinite reverse; }
.role-ai i:nth-child(3) { inset: 42%; border-radius: 50%; background: var(--blue); border: 0; }
.role-team i:nth-child(1), .role-team i:nth-child(2), .role-team i:nth-child(3) { width: 54%; aspect-ratio: 1; border-radius: 50%; background: var(--paper); }
.role-team i:nth-child(1) { left: 0; top: 23%; }
.role-team i:nth-child(2) { right: 0; top: 23%; }
.role-team i:nth-child(3) { left: 23%; bottom: 0; background: var(--blue); border-color: var(--blue); mix-blend-mode: multiply; }
.role-company i:nth-child(1) { inset: 12%; transform: rotate(45deg); }
.role-company i:nth-child(2) { inset: 27%; transform: rotate(45deg); background: var(--blue); border-color: var(--blue); }
.role-company i:nth-child(3) { inset: 43%; border-radius: 50%; background: var(--paper); }
@keyframes roleSpin { to { transform: rotate(360deg); } }
.role-grid h3 { margin: 0 0 12px; font-size: 32px; font-weight: 550; letter-spacing: -.045em; }
.role-grid p { max-width: 360px; margin: 0; font-size: 16px; line-height: 1.58; color: var(--muted); }

.krinia { min-height: 820px; display: grid; grid-template-columns: 1fr 1fr; background: var(--feature); color: var(--on-feature); transition: background-color 520ms ease, color 520ms ease; }
.krinia-copy { display: flex; flex-direction: column; justify-content: center; padding: 95px max(32px, calc((100vw - 1500px) / 2)); padding-right: 7vw; }
.krinia h2 { margin-top: 48px; font-size: clamp(58px, 5.6vw, 90px); }
.krinia h2 s { display: inline-block; margin-right: .16em; opacity: .72; }
.krinia .section-code.light { color: color-mix(in srgb, var(--on-feature) 76%, transparent); }
.krinia .section-code.light span { color: color-mix(in srgb, var(--on-feature) 48%, transparent); }
.krinia-copy > p { max-width: 620px; margin: 37px 0 44px; color: color-mix(in srgb, var(--on-feature) 80%, transparent); font-size: 17px; line-height: 1.6; }
.krinia-copy strong { color: currentColor; font-weight: 600; }
.krinia-inline-link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.line-button { width: min(360px, 100%); display: flex; justify-content: space-between; padding: 17px 0; border-block: 1px solid color-mix(in srgb, var(--on-feature) 42%, transparent); font: 500 11px/1 "IBM Plex Mono", monospace; }
.line-button b { font-size: 18px; }
.krinia-visual { position: relative; display: grid; place-items: center; overflow: hidden; background: var(--feature-panel); color: #11131a; transition: background-color 520ms ease; }
.vertical-label { position: absolute; left: 22px; top: 22px; writing-mode: vertical-rl; font: 500 10px/1 "IBM Plex Mono", monospace; color: rgba(17, 19, 26, .58); }
.kinetic-mark { position: relative; width: min(74%, 540px); aspect-ratio: 1; }
.kinetic-ring { position: absolute; display: block; border: 1px solid rgba(17, 19, 26, .45); animation: kinetic 9s cubic-bezier(.65, 0, .35, 1) infinite alternate; }
.ring-one { inset: 0; border-radius: 50%; }
.ring-two { inset: 14%; border-radius: 42% 58% 62% 38%; animation-delay: -3s; animation-direction: alternate-reverse; }
.ring-three { inset: 29%; border-radius: 58% 42% 35% 65%; animation-delay: -6s; }
.kinetic-core { position: absolute; left: 50%; top: 50%; width: 31%; height: 31%; font-size: clamp(72px, 8vw, 128px); transform: translate(-50%, -50%); animation: coreMorph 6s ease-in-out infinite alternate; }
@keyframes kinetic { to { transform: rotate(38deg) scale(.95); border-radius: 40% 60% 46% 54%; } }
@keyframes coreMorph { to { transform: translate(-50%, -50%) rotate(8deg) scale(1.08); } }
.visual-caption { position: absolute; left: 26px; right: 26px; bottom: 24px; display: flex; justify-content: space-between; align-items: end; padding-top: 16px; border-top: 1px solid rgba(17, 19, 26, .22); font: 500 10px/1 "IBM Plex Mono", monospace; }
.visual-caption b { font: 600 29px/1 "Instrument Sans", sans-serif; letter-spacing: -.05em; }

.value-wave { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-top: 88px; align-items: start; }
.value-card { min-height: 475px; display: flex; flex-direction: column; padding: 22px; border: 1px solid rgba(17, 19, 26, .13); color: #11131a; transition-delay: calc(var(--card-index, 0) * 90ms); }
.value-card:nth-child(2) { --card-index: 1; margin-top: 48px; }
.value-card:nth-child(3) { --card-index: 2; margin-top: 96px; }
.value-card:nth-child(4) { --card-index: 3; margin-top: 144px; }
.card-assist { background: var(--cyan); }
.card-sell { background: var(--coral); }
.card-profile { background: var(--lavender); }
.card-market { background: var(--lime); }
.card-glyph { position: relative; width: 150px; height: 150px; margin: 58px auto auto; }
.card-glyph i { position: absolute; display: block; }
.glyph-route i { border: 1px solid var(--ink); border-radius: 50%; }
.glyph-route i:nth-child(1) { inset: 0 45% 45% 0; }
.glyph-route i:nth-child(2) { inset: 45% 0 0 45%; }
.glyph-route i:nth-child(3) { left: 20%; top: 50%; width: 62%; height: 1px; background: var(--ink); transform: rotate(-45deg); transform-origin: left; }
.glyph-signal i { left: 50%; top: 50%; border: 1px solid var(--ink); border-radius: 50%; transform: translate(-50%, -50%); animation: signalPulse 3.2s ease-in-out infinite; }
.glyph-signal i:nth-child(1) { width: 28%; aspect-ratio: 1; }
.glyph-signal i:nth-child(2) { width: 62%; aspect-ratio: 1; animation-delay: -1s; }
.glyph-signal i:nth-child(3) { width: 100%; aspect-ratio: 1; animation-delay: -2s; }
@keyframes signalPulse { 50% { transform: translate(-50%, -50%) scale(.88); opacity: .45; } }
.glyph-profile i { width: 46%; aspect-ratio: 1; border: 1px solid var(--ink); border-radius: 50%; }
.glyph-profile i:nth-child(1) { left: 4%; top: 4%; }
.glyph-profile i:nth-child(2) { right: 4%; top: 4%; }
.glyph-profile i:nth-child(3) { left: 27%; bottom: 4%; background: color-mix(in srgb, var(--blue) 72%, transparent); border-color: var(--blue); mix-blend-mode: multiply; }
.glyph-market i { inset: 15%; border: 1px solid var(--ink); }
.glyph-market i:nth-child(1) { transform: rotate(0); }
.glyph-market i:nth-child(2) { transform: rotate(45deg); }
.glyph-market i:nth-child(3) { inset: 42%; border-radius: 50%; background: var(--ink); }
.value-card h3 { margin: 0 0 12px; font-size: 25px; font-weight: 560; letter-spacing: -.045em; }
.value-card p { margin: 0; font-size: 15px; line-height: 1.58; }

.measure { padding: 150px 32px; background: var(--night-soft); color: var(--on-night); transition: background-color 520ms ease, color 520ms ease; }
.measure-grid { width: min(1500px, 100%); display: grid; grid-template-columns: 1.15fr .55fr; gap: 10%; align-items: end; margin: 0 auto; }
.measure h2 { margin-top: 50px; }
.measure-detail { padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .18); }
.measure-detail > p { margin: 0 0 70px; color: rgba(255, 255, 255, .72); font-size: 17px; line-height: 1.6; }
.measure-flow { display: flex; align-items: center; justify-content: space-between; font: 500 10px/1 "IBM Plex Mono", monospace; }
.measure-flow i { flex: 1; height: 1px; margin: 0 10px; background: rgba(255, 255, 255, .24); }
.measure-flow b { color: color-mix(in srgb, var(--on-night) 72%, var(--blue)); font-weight: 500; }

.trust-band { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--white); border-block: 1px solid var(--line); }
.trust-band > div { min-height: 210px; display: grid; grid-template-columns: 42px 1fr; align-content: center; gap: 14px 18px; padding: 38px max(32px, calc((100vw - 1500px) / 6)); border-right: 1px solid var(--line); }
.trust-band > div:last-child { border-right: 0; }
.trust-band span { grid-row: 1 / 3; color: var(--blue); font: 500 10px/1 "IBM Plex Mono", monospace; }
.trust-band b { font: 500 11px/1 "IBM Plex Mono", monospace; letter-spacing: .04em; }
.trust-band p { max-width: 360px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.52; }
.trust-band > .trust-summary { min-height: 112px; grid-column: 1 / -1; grid-template-columns: 42px minmax(260px, auto) minmax(320px, 1fr); align-items: center; align-content: center; padding-block: 24px; border-right: 0; }
.trust-band > .trust-summary span { grid-row: auto; font-size: 18px; }
.trust-band > .trust-summary p { max-width: none; }
.trust-band > .trust-summary a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

.final-cta { position: relative; min-height: 860px; display: grid; place-items: center; padding: 110px 32px; overflow: hidden; background: var(--deep); color: var(--on-night); text-align: center; isolation: isolate; transition: background-color 520ms ease, color 520ms ease; }
.cta-glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(85px); opacity: .52; animation: glowDrift 10s ease-in-out infinite alternate; }
.glow-one { width: 46vw; height: 46vw; left: -12%; top: 4%; background: var(--glow-one); }
.glow-two { width: 38vw; height: 38vw; right: -6%; bottom: -8%; background: var(--glow-two); animation-delay: -5s; }
@keyframes glowDrift { to { transform: translate(12vw, 7vh) scale(1.14); opacity: .65; } }
.final-inner { width: min(1160px, 100%); display: flex; flex-direction: column; align-items: center; }
.final-inner > p { margin: 0 0 42px; color: #e8a89a; font: 500 11px/1 "IBM Plex Mono", monospace; }
.final-cta h2 { font-size: clamp(56px, 7vw, 110px); }
.final-cta a { width: min(420px, 100%); display: flex; justify-content: space-between; margin-top: 58px; padding: 19px 0; border-block: 1px solid rgba(255, 255, 255, .4); font: 500 11px/1 "IBM Plex Mono", monospace; }
.final-cta a b { font-size: 17px; }
.final-cta small { margin-top: 22px; color: rgba(255, 255, 255, .58); font-size: 12px; }

/* Form richiesta demo: il secondo modo di prenotare, accanto alla chat.
   Vive dentro la sezione scura, quindi campi trasparenti con la sola riga sotto. */
.cta-form { width: min(760px, 100%); margin-top: 54px; padding-top: 36px; border-top: 1px solid rgba(255, 255, 255, .22); text-align: left; }
.cta-form-intro { margin: 0 0 28px; color: rgba(255, 255, 255, .58); font: 500 11px/1.5 "IBM Plex Mono", monospace; letter-spacing: .04em; text-align: center; }
.cta-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 30px; }
.cta-form label { display: flex; flex-direction: column; gap: 8px; }
.cta-form label span { color: rgba(255, 255, 255, .55); font: 500 10px/1 "IBM Plex Mono", monospace; letter-spacing: .06em; text-transform: uppercase; }
/* 16px non e' un capriccio: sotto quella misura iOS zooma da solo sul campo. */
.cta-form input, .cta-form select { width: 100%; padding: 10px 2px; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .35); border-radius: 0; background: transparent; color: var(--on-night); font-size: 16px; }
.cta-form select { appearance: none; }
.cta-form option { color: #15110e; }
.cta-form input:focus, .cta-form select:focus { outline: none; border-bottom-color: var(--on-night); }
.cta-form-send { width: min(420px, 100%); display: block; margin: 42px auto 0; padding: 18px 0; border: 1px solid rgba(255, 255, 255, .4); background: transparent; color: var(--on-night); font: 500 11px/1 "IBM Plex Mono", monospace; letter-spacing: .08em; cursor: pointer; transition: background-color 220ms ease, color 220ms ease; }
.cta-form-send:hover:not(:disabled) { background: var(--on-night); color: var(--deep); }
.cta-form-send:disabled { opacity: .55; cursor: default; }
.cta-form-msg { margin: 20px 0 0; color: rgba(255, 255, 255, .74); font-size: 13px; line-height: 1.5; text-align: center; }

.footer { padding: 60px 32px 96px; background: var(--white); }
.footer-top, .footer-bottom { width: min(1500px, 100%); display: grid; margin: 0 auto; }
.footer-top { grid-template-columns: 1.5fr 1fr auto; gap: 50px; padding-bottom: 60px; border-bottom: 1px solid var(--line); }
.footer-top p { max-width: 430px; margin: 0; font-size: 17px; line-height: 1.55; }
.footer-top div, .footer-top nav { display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.footer-top div span { color: var(--muted); }
.footer-top .language-links { display: flex; flex-direction: row; gap: 10px; margin-top: 8px; color: var(--muted); font: 500 10px/1 "IBM Plex Mono", monospace; }
.language-links a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { grid-template-columns: 1fr auto auto; align-items: center; gap: 28px; padding-top: 22px; border-top: 1px solid var(--line); font: 500 10px/1 "IBM Plex Mono", monospace; }
.footer-bottom .language-links { display: flex; gap: 10px; color: var(--muted); }

.reveal { opacity: 0; transform: translateY(54px); transition: opacity 820ms cubic-bezier(.2, .75, .2, 1), transform 820ms cubic-bezier(.2, .75, .2, 1); }
.reveal.in-view { opacity: 1; transform: none; }
.hero .reveal:nth-child(2) { transition-delay: 100ms; }
.hero .reveal:nth-child(3) { transition-delay: 180ms; }
.role-grid .reveal:nth-child(2) { transition-delay: 100ms; }
.role-grid .reveal:nth-child(3) { transition-delay: 200ms; }

@media (max-width: 1100px) {
  .measure, .footer { padding-inline: 20px; }
  .site-header { width: calc(100% - 40px); }
  .hero { padding-inline: 20px; }
  .hero-grid { grid-template-columns: 1fr; padding: 70px 0 85px; }
  .hero-system { min-height: 580px; }
  .hero-bottom { grid-template-columns: 1fr 280px; }
  .section-shell, .operating-sticky { width: calc(100% - 40px); }
  .showcase-track, .showcase-proof { width: calc(100% - 40px); }
  .product-proof-stage, .product-proof-note { width: calc(100% - 40px); }
  .operating-sticky { grid-template-columns: .7fr 1fr; gap: 5%; }
  .value-wave { grid-template-columns: 1fr 1fr; }
  .value-card:nth-child(3), .value-card:nth-child(4) { margin-top: 0; }
  .value-card:nth-child(2), .value-card:nth-child(4) { margin-top: 48px; }
}

@media (max-width: 760px) {
  :root { --header: 76px; }
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .header-actions { gap: 14px; }
  .header-actions .language-links { display: flex; }
  .nav-cta { font-size: 10px; }
  .hero { padding-top: var(--header); }
  .hero-grid { min-height: auto; padding-top: 94px; }
  .hero-rail-track { justify-content: space-between; gap: 12px; padding: 0 18px; font-size: 9px; }
  .hero-rail-track span:nth-of-type(n+4), .hero-rail-track i:nth-of-type(n+4) { display: none; }
  .hero h1 { font-size: clamp(48px, 12.5vw, 62px); line-height: .9; }
  .mobile-break { display: inline; }
  .hero-bottom { grid-template-columns: 1fr; gap: 35px; }
  .hero-system { min-height: 520px; }
  .system-orbit { min-height: 400px; }
  .hero-index { grid-template-columns: 1fr 1fr; gap: 13px; padding: 20px 0; }
  .section-shell { padding: 95px 0 105px; }
  .showcase { padding-bottom: 95px; }
  .showcase-heading { padding-bottom: 58px; }
  .showcase-track { grid-template-columns: 1fr; }
  .showcase-card, .showcase-card-wide { min-height: 0; aspect-ratio: 4 / 5; grid-row: auto; }
  .showcase-card figcaption { flex-direction: column; align-items: flex-start; }
  .showcase-card figcaption strong { max-width: 85%; text-align: left; }
  .product-proof { padding-bottom: 0; }
  .product-proof-heading { padding-bottom: 58px; }
  .product-proof-stage { grid-template-columns: 1fr; gap: 64px; }
  .app-carousel { width: min(100%, 390px); margin: 0 auto; }
  .statement-grid, .showcase-title-grid, .proof-title-grid, .roles-heading, .value-heading, .measure-grid { grid-template-columns: 1fr; gap: 48px; }
  .statement h2, .showcase h2, .product-proof h2, .roles h2, .value h2, .scene-heading h2, .krinia h2, .measure h2, .final-cta h2 { font-size: clamp(48px, 13.8vw, 68px); }
  .operating-scene { height: auto; padding: 90px 0; }
  .operating-sticky { position: relative; min-height: auto; grid-template-columns: 1fr; gap: 55px; overflow: visible; }
  .operation-board { transform: none; }
  .board-main { padding: 10px; }
  .board-main li { grid-template-columns: 35px 1fr; min-height: 105px; opacity: 1; transform: none; }
  .board-main li em { display: none; }
  .board-footer { flex-direction: column; gap: 10px; }
  .role-grid { grid-template-columns: 1fr; margin-top: 60px; }
  .role-grid article, .role-grid article + article { min-height: 390px; padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .krinia { grid-template-columns: 1fr; }
  .krinia-copy { padding: 95px 20px; }
  .krinia-visual { min-height: 620px; }
  .value-wave { grid-template-columns: 1fr; gap: 10px; }
  .value-card, .value-card:nth-child(2), .value-card:nth-child(3), .value-card:nth-child(4) { min-height: 410px; margin-top: 0; }
  .measure { padding: 100px 20px; }
  .measure-detail > p { margin-bottom: 50px; }
  .final-cta { min-height: 760px; padding-inline: 20px; }
  .cta-form-grid { grid-template-columns: 1fr; }
  .trust-band { grid-template-columns: 1fr; }
  .trust-band > div { min-height: 160px; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-band > div:last-child { border-bottom: 0; }
  .trust-band > .trust-summary { min-height: 150px; grid-template-columns: 32px 1fr; gap: 10px 14px; }
  .trust-band > .trust-summary span { grid-row: 1 / 3; }
  .footer { padding-inline: 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 35px; }
  .footer-bottom { grid-template-columns: 1fr auto; }
  .footer-bottom .language-links { grid-column: 1 / -1; grid-row: 1; }
  .palette-switcher { bottom: 10px; max-width: calc(100vw - 20px); overflow-x: auto; justify-content: flex-start; border-radius: 18px; }
  .palette-label { display: none; }
  .palette-option { padding-inline: 9px; }
  .palette-option span { display: none; }
  .palette-option i { width: 13px; height: 13px; }
}

@media (max-width: 430px) {
  .site-header { width: calc(100% - 28px); }
  .brand { gap: 10px; font-size: 18px; }
  .brand-mark { width: 40px; height: 40px; }
  .nav-cta { width: auto; justify-content: center; gap: 7px; padding: 8px 0; font-size: 8px; }
  .nav-cta-label { display: inline; }
  .nav-cta b { display: block; font: 500 12px/1 "IBM Plex Mono", monospace; }
  .hero { padding-inline: 14px; }
  .section-shell, .operating-sticky { width: calc(100% - 28px); }
  .showcase-track, .showcase-proof { width: calc(100% - 28px); }
  .product-proof-stage, .product-proof-note { width: calc(100% - 28px); }
  .hero-system { min-height: 460px; padding: 13px; }
  .system-orbit { min-height: 360px; }
  .system-node { padding: 8px 9px; font-size: 9px; }
  .node-a { left: 0; top: 12%; }
  .node-b { right: 0; top: 21%; }
  .node-e { left: 0; top: 43%; }
  .node-f { right: 0; top: 51%; }
  .node-d { left: 2%; bottom: 18%; }
  .node-c { right: 2%; bottom: 6%; }
  .tre-ruoli .node-a { top: 5%; }
  .tre-ruoli .node-b { top: 18%; }
  .tre-ruoli .node-c { right: auto; left: 2%; bottom: 7%; }
  .system-core { width: 142px; }
  .core-mark { width: 56px; height: 56px; }
  .system-core small { font-size: 9px; }
  .section-shell { padding-top: 82px; padding-bottom: 90px; }
  .measure-flow { flex-wrap: wrap; gap: 12px 0; }
  .measure-flow i { min-width: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .intro { display: none; }
  .reveal { opacity: 1; transform: none; }
  .operating-scene { height: auto; padding: 120px 0; }
  .operating-sticky { position: relative; min-height: auto; }
  .operation-board, .board-main li { transform: none; opacity: 1; }
}

/* FAQ offerta: controllo nativo, con spazi e focus coerenti con la pagina. */
.offer-faq { max-width: 980px; }
.offer-faq h2 { margin: 0 0 32px; font-size: clamp(30px, 4vw, 52px); }
.offer-faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.offer-faq details:last-child { border-bottom: 1px solid var(--line); }
.offer-faq summary { cursor: pointer; font-size: 18px; font-weight: 600; line-height: 1.5; }
.offer-faq summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 6px; }
.offer-faq details p { max-width: 72ch; margin: 16px 0 0; color: var(--muted); line-height: 1.7; }

/* Attivazione una tantum sotto il canone: seconda riga del titolo prezzo, piu' piccola */
.krinia h2 small { display: block; margin-top: .38em; font-size: .4em; font-weight: 500; letter-spacing: -.03em; opacity: .88; }
