:root {
  color-scheme: light;
  --paper: #f3f5fa;
  --white: #fffefa;
  --ink: #121b31;
  --muted: #49566b;
  --navy: #080f1f;
  --gold: #bfcbff;
  --bronze: #354c99;
  --line: #d7dce8;
  --radius: 5px;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #98631c; outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
p { line-height: 1.65; }
img, svg { display: block; }
.wrap { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: absolute; z-index: 11; left: 12px; top: 12px; padding: 12px; background: var(--white); transform: translateY(-160%); }
.skip:focus { transform: none; }

html { --header-offset: 87px; scroll-padding-top: var(--header-offset); }
.site-header { position: sticky; top: 0; z-index: 10; max-height: 100dvh; overflow-y: auto; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 78px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: inline-flex; gap: 8px; align-items: center; font-size: 24px; font-weight: 750; letter-spacing: -.075em; text-decoration: none; white-space: nowrap; }
.brand span { color: var(--bronze); margin-left: -6px; }
.header-inner nav { display: flex; }
.header-inner nav a, .footer a:not(.brand) { font-size: 14px; font-weight: 620; text-decoration: none; }
.header-inner nav a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
.header-inner [aria-current] { color: var(--bronze); }
.button { display: inline-flex; gap: 10px; align-items: center; justify-content: center; min-height: 48px; padding: 10px 18px; border: 1px solid transparent; border-radius: 5px; font-size: 14px; font-weight: 740; text-decoration: none; }
.button-primary { background: var(--gold); color: var(--navy); }
.button-primary:hover { background: #d8dfff; }
.button-outline { border-color: #b7b3a9; background: transparent; color: var(--ink); }
.button-outline:hover { background: #e1e6f4; }
.text-link { font-size: 14px; font-weight: 750; text-decoration: underline; text-decoration-color: #a68a62; text-underline-offset: 5px; }
.text-link:hover { text-decoration-color: currentColor; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 21px; }

.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--bronze); font-family: ui-monospace, monospace; font-size: 12px; font-weight: 700; line-height: 1.5; letter-spacing: .09em; text-transform: uppercase; }
.dot { display: inline-block; flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.hero h1, .display { font-family: inherit; font-weight: 580; letter-spacing: -.055em; line-height: .99; text-wrap: balance; }
.lede { color: var(--muted); font-size: clamp(17px, 1.55vw, 21px); max-width: 46ch; }
.hero .actions { margin-top: 29px; }
.device-strip { border-block: 1px solid var(--line); background: #e8ecf5; }
.devices { min-height: 67px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; padding-block: 12px; gap: 14px clamp(22px, 6vw, 100px); }
.devices > span { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; }
.devices svg { width: 18px; height: 18px; fill: none; stroke: var(--bronze); stroke-width: 1.6; stroke-linecap: round; }

.section { padding-block: clamp(55px, 7vw, 105px); }
.display { font-size: clamp(39px, 5vw, 69px); margin-block: 12px 18px; text-wrap: initial; }
.caret { display: inline-block; width: 2px; height: 1em; margin-left: 3px; background: var(--bronze); vertical-align: text-bottom; }
.callout { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(24px, 5vw, 62px); border-radius: var(--radius); background: radial-gradient(ellipse at 80% 130%, #2f4d70, transparent 65%), var(--navy); color: #fff8eb; }
.callout .display { max-width: 16ch; }
.callout .eyebrow { color: var(--gold); }
.callout p:not(.eyebrow) { color: #e0e5ee; max-width: 54ch; }
.callout .button { flex-shrink: 0; }
.footer { border-top: 2px solid #bca77d; background: #101b2c; color: #f3f5fa; }
.footer-inner { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: start; gap: 20px 8%; padding-block: clamp(24px,4vw,48px); }
.footer .brand { color: white; }
.footer .brand span { color: #e5c592; }
.footer p { margin: 6px 0 10px; font-size: 13px; color: #bdc9dc; }
.footer-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 16px; }
.footer-links a { display: flex; align-items: center; min-height: 44px; border-bottom: 1px solid #344156; color: #e2e8f2; }
@media (max-width: 640px) { .footer-inner { grid-template-columns: 1fr; gap: 14px; } }

.page-head { padding-block: 36px 48px; color: var(--white); background: var(--navy); }
.page-head .display { margin: 14px 0 18px; max-width: 16ch; }
.page-head .lede { max-width: 60ch; }
.page-head .actions { margin-top: 24px; }
.page-content { padding-block: 40px 64px; }

.content-card {
  margin-block: 16px; padding-block: clamp(20px, 3vw, 36px); border: 0; border-top: 1px solid var(--line); background: transparent;
}
.content-card h2 { display: flex; align-items: center; gap: 12px; font: 650 clamp(22px, 2.4vw, 32px)/1.16 system-ui, sans-serif; letter-spacing: -.035em; }
.section-icon { flex: none; width: 40px; height: 40px; padding: 6px; color: #35528b; }
.content-card > * + * { margin-top: 14px; }
.content-card p, .content-card li, .content-card dd { max-width: 80ch; color: var(--muted); line-height: 1.65; }
.content-card:has(> dl):not(.pilot-checks) {
  padding-inline: 0;
}
.content-card:has(> dl):not(.pilot-checks) .section-icon { display: none; }
.content-card dl { margin-bottom: 0; }
.content-card dl > div { padding-block: 14px; }
.content-card dl > div + div { border-top: 1px solid var(--line); }
.content-card dt { font-size: 17px; font-weight: 650; line-height: 1.4; }
.content-card dd { margin: 6px 0 0; max-width: 68ch; }
@media (min-width: 800px) {
  .content-card:not(.pilot-checks) dl > div {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px;
  }
  .content-card:not(.pilot-checks) dd { margin: 0; }
}
.pilot-checks { padding-inline: clamp(18px, 3vw, 36px); background: #162642; color: white; }
.pilot-checks .section-icon { color: #172941; background: #f0cb91; }
.pilot-checks dl { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,240px),1fr)); gap: 12px; }
.pilot-checks dl > div { padding-block: 16px; border-top: 1px solid #687891; }
.pilot-checks dl > div + div { border-top: 1px solid #687891; }
.pilot-checks dd, .pilot-checks a { color: #e0e9fa; }
.pilot-checks dt svg { display: block; width: 30px; height: 30px; margin-bottom: 10px; color: #efc789; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,210px),1fr)); gap: 18px 16px; margin-bottom: 20px; }
.form-grid label, .draft label { display: grid; gap: 5px; font-size: 14px; font-weight: 650; }
.draft textarea { width: 100%; min-width: 0; padding: 9px; border: 1px solid #a9a59a; border-radius: 6px; color: var(--ink); background: var(--white); }
.draft { margin-top: 22px; }
.draft .button { margin-top: 10px; }

.tabs { display: flex; gap: 3px; margin-block: 14px 20px; padding: 4px; background: #edf1f8; border: 1px solid #d6deeb; border-radius: 15px; }
.tabs button { flex: 1 1 0; min-width: 0; min-height: 44px; padding: 8px clamp(4px, 1vw, 14px); border: 1px solid transparent; border-radius: 10px; background: transparent; color: #475570; font: inherit; font-size: 14px; font-weight: 620; line-height: 1.25; }
@media (hover: hover) { .tabs button:hover { background: #dfe6f2; color: #263857; } }
.tabs button[aria-selected="true"] { background: #283c64; color: white; border-color: #223456; box-shadow: 0 2px 4px #172a4c26; }
.tabs button:focus-visible { outline: 2px solid #8a602b; outline-offset: 1px; }
@media (forced-colors: active) { .tabs button[aria-selected="true"] { border: 2px solid Highlight; } }
.report-panel { min-height: 136px; display: flex; align-items: flex-start; flex-direction: column; gap: 7px; }
.report-panel h3 { font: 650 11px/1.5 ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--bronze); }
.report-panel p { font: 16px/1.5 system-ui, sans-serif; }
.report-panel a { color: var(--muted); font-size: 12px; margin-top: auto; padding-block: 6px; text-underline-offset: 3px; }
.feature-grid { margin-top: 36px; border-top: 1px solid var(--ink); }
.feature { padding: 25px 0; border-bottom: 1px solid var(--line); display: grid; align-items: baseline; grid-template-columns: 35px 1fr 1.3fr minmax(155px, .7fr); gap: 20px; }
.feature-number { font: 12px ui-monospace, monospace; color: var(--bronze); }
.feature h3 { font: 550 clamp(24px, 2.3vw, 34px)/1.1 system-ui, sans-serif; letter-spacing: -.04em; }
.feature p { color: var(--muted); }
.feature a { justify-self: end; }
.back-home { display: inline-block; margin-bottom: 24px; color: #e1d6b7; font-size: 13px; text-underline-offset: 4px; }
.page-head .eyebrow, .page-head .text-link { color: var(--gold); }
.page-head .lede { color: #e2e8e4; }
.page-head .display { max-width: 24ch; }
.form-grid label { min-width: 0; gap: 7px; align-content: end; }
.form-grid input, .form-grid select {
  -webkit-appearance: none; appearance: none; box-sizing: border-box; width: 100%; min-width: 0; height: 48px;
  padding: 0 12px; background-color: #fbfcff; color: var(--ink); border: 1px solid #8794aa; border-radius: 9px;
  font: 400 16px/1.35 system-ui, sans-serif;
}
.form-grid input::placeholder { color: #647189; opacity: 1; }
.form-grid select {
  cursor: pointer; padding-right: 45px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26'%3E%3Crect width='26' height='26' rx='7' fill='%23e6ecf8'/%3E%3Cpath d='m8 11 5 5 5-5' fill='none' stroke='%23354c83' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
}
.form-grid :is(input,select):focus { border-color: #395794; outline: 2px solid #516fa8; outline-offset: 2px; }
@media (forced-colors: active) { .form-grid select { appearance: auto; background-image: none; padding-right: 8px; } }
.menu-toggle { display: none; }

@media (max-width: 900px) {
  .wrap { width: calc(100% - 48px); }
  .header-inner nav { column-gap: 13px; }
  .feature { grid-template-columns: 28px 1fr 1.1fr; gap: 12px; }
  .feature a { grid-column: 3; justify-self: start; }
}
@media (max-width: 740px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 62px; flex-wrap: wrap; gap: 4px 12px; padding-block: 8px; }
  .menu-toggle { display: flex; align-items: center; gap: 7px; min-height: 44px; margin-left: auto; padding: 5px; background: transparent; border: 0; color: var(--ink); font-size: 14px; }
  .header-inner nav { order: 3; width: 100%; display: grid; gap: 0; }
  .header-inner nav a { min-height: 44px; padding: 12px 0; border-top: 1px solid var(--line); }
  .menu-toggle:not([hidden])[aria-expanded="false"] + nav { display: none; }
  .login { min-height: 44px; padding: 8px 13px; }
  .hero .actions { margin-top: 18px; }
  .devices { justify-content: flex-start; }
  .feature { grid-template-columns: 28px 1fr; }
  .feature p, .feature a { grid-column: 2; }
  .callout { align-items: flex-start; flex-direction: column; }
  .page-head { padding-block: 25px 30px; }
  .content-card { display: block; }
  .content-card > * + * { margin-top: 12px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid input, .form-grid select { font-size: 16px; }
}
@media (max-width: 380px) {
  .wrap { width: calc(100% - 28px); }
}

.site-header, .hero, .studio { color: #f4f6ff; background: #070d19; }
.site-header { border-color: #222c40; }
.site-header .brand span { color: #b6c6ff; }
.header-inner .brand img { width: clamp(44px, 5vw, 56px); height: auto; flex: none; }
.site-header nav a { color: #c5cede; font-weight: 500; }
.site-header nav [aria-current] { color: white; text-decoration: underline; text-underline-offset: 6px; }
.site-header .login, .site-header .menu-toggle { color: #f6f7ff; }
.login { background: #182135; border-color: #39445b; }
.login:hover { background: #2b3952; }
.hero { position: relative; overflow: hidden; }
.hero-stage { display: grid; grid-template-columns: 1fr 1fr; align-items: center; position: relative; min-height: clamp(450px, 42vw, 640px); }
.hero-copy { position: relative; z-index: 1; padding-block: 48px; }
.hero-copy .eyebrow, .studio-heading .eyebrow { color: #b9c9ff; }
.signal-light { width: 7px; height: 7px; border-radius: 50%; background: #a4bdff; box-shadow: 0 0 13px #739bff; }
.hero h1 { margin: 22px 0; font: 560 clamp(52px, 5.65vw, 86px)/.99 system-ui, sans-serif; letter-spacing: -.08em; }
.hero h1 em { font-style: normal; color: #bdcaff; }
.hero .lede { max-width: 39ch; font-size: clamp(16px, 1.4vw, 20px); color: #c1ccdf; }
.button { border-radius: 100px; }
.hero .button-primary { background: #d6deff; color: #10172a; padding-inline: 23px; }
.hero .button-primary:hover { background: white; }
.hero .text-link { color: #e2e8ff; text-decoration-color: #596787; }
.signal-art { position: relative; align-self: stretch; min-width: 0; }
.signal-art > svg { position: absolute; top: 0; left: -9%; width: 128%; height: 100%; pointer-events: none; mix-blend-mode: screen; mask-image: radial-gradient(ellipse, black 52%, transparent 79%); }
@media (prefers-reduced-motion: no-preference) {
  .signal-art image { transform-origin: 50% 54%; animation: voice-swell 4.8s ease-in-out infinite; }
  @keyframes voice-swell { 50% { transform: translateY(-1.2%) skewY(-2deg) scale(1.015, 1.055); } }
}
.studio { padding-block: clamp(26px, 3vw, 42px) clamp(38px, 5vw, 78px); }
.studio-heading { border-top: 1px solid #273248; padding-top: 24px; display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 20px; }
.studio-heading .display { font-size: clamp(28px, 3.2vw, 48px); margin-block: 8px 0; }
.studio-heading > p { font-size: 13px; color: #b0bdd2; }
.console { display: grid; grid-template-columns: .87fr 1.13fr; overflow: hidden; border: 1px solid #38445a; border-radius: 16px; }
.source, .instrument-sheet { min-width: 0; padding: clamp(18px, 2.7vw, 38px); }
.source { background: linear-gradient(130deg,#182847,#101a2d); }
.console-label { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 620; }
.console-label span { border: 1px solid currentColor; border-radius: 4px; padding: 1px 5px; font: 10px/1.5 ui-monospace, monospace; opacity: .8; }
.soundtrack { margin-block: 20px 13px; height: 39px; background: left center / auto 39px repeat-x url('onda.svg'); opacity: .85; }
.wave-control {
  display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: 10px;
  width: min(100%, 360px); height: 54px; margin-block: 18px; padding: 5px 16px 5px 6px;
  background: #253650; border: 1px solid #576884; border-radius: 40px; color: #efc789;
}
.wave-bars {
  display: grid; grid-template-columns: repeat(32, minmax(0, 1fr)); align-items: center;
  height: 32px; overflow: hidden;
}
.wave-bars i {
  width: 55%; border-radius: 3px; background: currentColor;
  animation: voce-pulsazione 1s ease-in-out infinite;
}
.wave-control[aria-pressed="false"] i { animation: none; }
@media (prefers-reduced-motion: no-preference) {
  #dettato .not-spoken { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .wave-control i { animation: none; }
}
.wave-toggle { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #efc789; color: #152038; }
.wave-toggle::before { content: ''; margin-left: 3px; border-block: 7px solid transparent; border-left: 11px solid currentColor; }
.wave-control[aria-pressed="true"] .wave-toggle::before { margin: 0; width: 11px; height: 14px; box-sizing: border-box; border: 0; border-inline: 4px solid currentColor; }
.wave-toggle + span { color: white; font-weight: 650; }
.wave-control:hover { background: #30425f; }
@keyframes voce-pulsazione {
  0%, 100% { transform: scaleY(.42); }
  25% { transform: scaleY(.95); }
  53% { transform: scaleY(.32); }
  71% { transform: scaleY(.76); }
}
.source blockquote { margin: 0 0 16px; max-width: 32ch; color: #edf2ff; font-size: clamp(18px,1.7vw,25px); letter-spacing: -.018em; line-height: 1.45; }
.audio-caption { font-size: 13px; color: #c8d4ed; }
.clinical-draft { margin: 0 0 10px; }
.clinical-draft dt { font-weight: 700; font-size: 14px; margin-top: 12px; }
.clinical-draft dd { margin: 2px 0 0; line-height: 1.5; }
.instrument-sheet { background: #f6f8ff; color: var(--ink); }
.instrument-sheet .console-label { color: #465777; }
.instrument-sheet .console-label span { opacity: 1; }
.sheet-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 13px; }
.sheet-top h3 { font-size: 26px; font-weight: 580; letter-spacing: -.05em; }
.sheet-top span { font-size: 12px; color: var(--muted); }
.report-panel { min-height: 138px; }
.feature-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; border: 1px solid var(--line); background: var(--line); border-radius: 14px; overflow: hidden; }
.feature { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(20px,2.4vw,34px); border: none; background: #fbfcff; }
.feature a { margin-top: auto; }
.feature-number { font-weight: 650; color: #41599d; }
.callout, .page-head { background: linear-gradient(90deg, #0b1429 29%, #0b1429de 61%, #0b14294f), #091222 url('segnale.webp') right center / auto 115% no-repeat; }
.callout { border-radius: 16px; }
.callout .display { font-size: clamp(35px, 4vw, 58px); }
.page-head .display { max-width: 19ch; }
.page-head .back-home { color: #cdd7f9; }
:focus-visible { outline-color: #738eff; }
@media (max-width: 740px) {
  .header-inner nav a { border-color: #354058; }
  .hero-stage { display: flex; flex-direction: column; align-items: stretch; }
  .hero-copy { padding: 38px 0 0; }
  .hero h1 { font-size: clamp(54px, 11vw, 80px); margin-block: 15px; }
  .signal-art { height: clamp(200px, 54vw, 340px); }
  .signal-art > svg { width: 110%; left: -5%; }
  .studio-heading { display: block; }
  .studio-heading > p { margin-top: 8px; }
  .console, .feature-grid { grid-template-columns: 1fr; }
  .source blockquote { max-width: none; }
  .soundtrack { height: 25px; background-size: auto 25px; }
  .callout, .page-head { background-size: auto 85%; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .button, .tabs button { transition: background-color .18s ease, color .18s ease; }
}

.glyph { width: 21px; height: 21px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.header-inner nav { gap: 4px; }
.header-inner nav a { display: flex; align-items: center; gap: 7px; padding: 9px; border-radius: 9px; }
.header-inner nav a .glyph { width: 20px; height: 20px; color: #c3d1ff; stroke-width: 1.8; }
.menu-toggle .menu-lines { width: 16px; height: 16px; }
.menu-close, .menu-toggle[aria-expanded="true"] .menu-open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-close { display: block; }
.header-inner nav a:hover, .header-inner nav a:focus-visible { background: #1b2840; text-decoration: none; }
.library > p:not(.eyebrow) { color: var(--muted); max-width: 68ch; }
.feature-grid { border: 0; gap: 17px; overflow: visible; background: transparent; }
.feature { overflow: hidden; gap: 0; padding: 0; border: 0; border-top: 1px solid var(--line); background: transparent; align-items: stretch; }
.shot:has(img) { position: relative; display: block; width: fit-content; max-width: 100%; margin-inline: auto; }
.feature .shot { margin-top: 12px; max-width: calc(100% - 24px); }
.feature .shot img { max-height: 225px; }
.shot img { display: block; width: auto; height: auto; max-width: 100%; border: 1px solid #cbd4e2; border-radius: 8px; box-shadow: 0 3px 12px #172a4c10; }
.shot .glyph { position: absolute; right: 8px; bottom: 8px; width: 30px; height: 30px; padding: 6px; border-radius: 50%; color: white; background: #091325e6; }
.shot:focus-visible { outline-offset: -4px; }
.feature-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; flex: 1; padding: clamp(18px,2vw,28px); }
.feature-copy > .glyph, .function-row h2 .glyph { box-sizing: content-box; padding: 9px; border: 1px solid #ced8fb; color: #354e94; background: #e8edff; border-radius: 12px; }
.feature-copy h3 { font-size: clamp(24px,2.1vw,30px); }
.guide-card { color: inherit; text-decoration: none; }
.guide-card .text-link { margin-top: auto; }
.guide-card:is(:hover, :focus-visible) { border-color: #687fae; }
.guide-screen { width: fit-content; max-width: min(100%, 960px); margin: 0 auto 28px; }
.guide-screen .shot, .tour-shot { cursor: zoom-in; }
.guide-screen img { max-height: min(68vh, 680px); }
.guide-screen figcaption { max-width: 64ch; margin: 12px auto 0; color: var(--muted); line-height: 1.5; text-align: center; }
.product-tour { padding: clamp(16px,3vw,36px); margin-bottom: 32px; border: 0; border-top: 1px solid var(--line); background: transparent; }
.product-tour h2 { font-size: clamp(27px,4vw,48px); letter-spacing: -.045em; }
.product-tour > p:not(.eyebrow) { margin-block: 8px 20px; color: var(--muted); }
.tour-stage { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); align-items: center; gap: clamp(16px,4vw,50px); padding-top: 8px; }
.tour-copy h3 { font-size: clamp(23px,2.4vw,34px); line-height: 1.15; margin-block: 9px; }
.tour-copy small { color: #435889; font: 650 12px/1.5 ui-monospace, monospace; }
.tour-copy p { color: var(--muted); }
.tour-copy blockquote { margin: 16px 0; border-left: 3px solid #b68b53; padding: 6px 12px; }
.tour-shot { min-width: 0; }
.tour-shot img { max-height: min(58vh, 440px); }
.tour-shot span { position: absolute; right: 8px; bottom: 8px; padding: 5px 10px; border-radius: 16px; background: #101b30; color: white; font-size: 13px; }
@media (max-width: 700px) { .tour-stage { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: no-preference) {
  .tour-stage:not([hidden]) .tour-copy, .tour-stage:not([hidden]) .tour-shot { animation: guide-appear .35s ease-out both; }
  .tour-stage:not([hidden]) .tour-shot { animation-delay: .08s; }
}
@media (prefers-reduced-motion: no-preference) {
  .guide-card, .guide-card .shot img { transition: transform 220ms ease, box-shadow 220ms ease; }
  .guide-card:is(:hover, :focus-visible) { transform: translateY(-3px); box-shadow: 0 10px 24px #19294018; }
  .guide-card:is(:hover, :focus-visible) .shot img { transform: scale(1.025); }
  .guide-screen { animation: guide-appear 420ms ease-out; }
  @keyframes guide-appear { from { opacity: .5; transform: translateY(8px); } }
}
.discover { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-top: 20px; }
.discover a { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: clamp(10px,2vw,20px); padding: clamp(14px,2vw,22px); border: 0; border-top: 1px solid var(--line); background: transparent; text-decoration: none; }
.discover .glyph { box-sizing: content-box; padding: 9px; border-radius: 10px; background: #e8edff; color: #354e94; }
.discover a:nth-child(2) .glyph { background: #f3eadc; color: #795629; }
.discover a > span { color: var(--muted); font-size: 14px; line-height: 1.45; }
.discover strong { display: block; margin-bottom: 3px; color: var(--ink); font-size: 18px; }
.discover a .discover-arrow { font-size: 21px; color: #354e94; }
.discover a:is(:hover,:focus-visible) { border-color: #687fae; background: #f5f7ff; }
#ingrandimento { max-width: min(96vw,1440px); max-height: 96vh; border: 1px solid #536280; border-radius: 14px; background: #0c1527; color: white; padding: 12px; }
#ingrandimento::backdrop { background: #050912db; }
#ingrandimento form { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 10px; }
#ingrandimento strong { font-size: 14px; }
#ingrandimento button { flex-shrink: 0; padding: 10px 14px; border-radius: 30px; border: 1px solid #68738a; background: #17233c; color: white; }
#ingrandimento img { width: auto; height: auto; max-width: 100%; max-height: 79vh; object-fit: contain; margin: auto; }
.library h2 { font-size: clamp(28px,4vw,48px); letter-spacing: -.05em; margin: 6px 0 12px; }
.atlas-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,400px),1fr)); gap: 16px; margin-block: 24px; }
.atlas-link, .atlas-region { display: grid; align-items: start; grid-template-columns: clamp(68px,10vw,128px) 1fr; gap: clamp(14px,2vw,28px); padding: clamp(16px,3vw,32px) 0; border: 0; border-top: 1px solid var(--line); background: transparent; }
.atlas-link { text-decoration: none; }
.atlas-link:is(:hover,:focus-visible) { border-color: #697fae; }
.atlas-link img, .atlas-region img { width: 100%; height: auto; background: #edf2fb; border-radius: 10px; }
.atlas-link small { color: #435889; font-weight: 650; }
.atlas-link p, .atlas-region p { margin-block: 8px 14px; color: var(--muted); line-height: 1.55; }
.atlas-link strong { font-size: 14px; }
.atlas-jumps { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.atlas-jumps a { background: white; border: 1px solid var(--line); border-radius: 24px; padding: 9px 16px; }
.atlas-region { margin-bottom: 16px; scroll-margin-top: 85px; }
.atlas-region h3 { font-size: 15px; }
.atlas-region ul { padding-left: 20px; margin-block: 6px; }
.atlas-region li { padding-block: 3px; }
@media (max-width: 500px) {
  .atlas-link, .atlas-region { grid-template-columns: 1fr; }
  .atlas-link img, .atlas-region img { width: 100px; }
}
.catalog-groups { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; align-items: start; margin: 24px 0; }
.catalog-groups details { padding: 16px 20px; border: 0; border-top: 1px solid var(--line); background: transparent; }
.catalog-groups summary { cursor: pointer; font-weight: 650; line-height: 1.6; }
.code { display: inline-block; border-radius: 5px; color: #40559a; background: #eaf0ff; padding: 2px 6px; font: bold 12px/1.6 ui-monospace, monospace; }
.catalog-groups ul { display: flex; flex-wrap: wrap; list-style: none; margin: 14px 0 0; padding: 0; gap: 6px; }
.catalog-groups li { padding: 5px 9px; background: #f2f4f9; border-radius: 5px; font-size: 14px; }
.function-row h2 .glyph { display: block; margin-bottom: 12px; }
.plans { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-top: 30px; }
.plan { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(20px,2.4vw,32px); border: 0; border-top: 1px solid var(--line); background: transparent; }
.plan h3 { font-size: 19px; }
.plan .price { font-size: clamp(34px,3.8vw,52px); font-weight: 580; line-height: 1.15; letter-spacing: -.06em; }
.plan .price small { font-size: 15px; font-weight: 450; letter-spacing: 0; }
.plan .price-custom { font-size: clamp(27px,3vw,40px); }
.plan-inclusive { color: #f4f6ff; background: #17243d; border-color: #394d7f; }
.plan-inclusive .price { color: #c3d0ff; }
.plan .text-link { margin-top: auto; padding-block: 12px; min-height: 44px; }
.plan-details { margin: 0; border-top: 1px solid var(--line); padding-top: 16px; }
.plan-details dt { font-weight: 650; }
.plan-details dd { margin: 4px 0 16px; line-height: 1.55; color: var(--muted); }
.plan-details dd:last-child { margin-bottom: 0; }
.quota-label { color: #c3d0ff; font: 600 12px/1.5 ui-monospace, monospace; }
.quota { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-self: stretch; margin: -5px 0 0; padding: 14px 0; border-block: 1px solid #485674; list-style: none; }
.quota li { font-size: 13px; line-height: 1.4; }
.quota li + li { border-left: 1px solid #485674; padding-left: 12px; }
.quota strong { display: block; font-size: 28px; letter-spacing: -.04em; }
#tariffe + .section { padding-top: 0; }
@media (max-width: 800px) { .plans { grid-template-columns: 1fr; } }
/* Leave room for all seven links, the wordmark and the login action. */
@media (min-width: 81em) {
  .header-inner nav, .header-inner .login { white-space: nowrap; }
}
@media (width < 81em) {
  .header-inner { display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: 6px 9px; padding-block: 9px; }
  .header-inner .brand { grid-column: 1; grid-row: 1; justify-self: start; }
  .header-inner .menu-toggle { grid-column: 2; grid-row: 1; }
  .header-inner .login { grid-column: 3; grid-row: 1; }
  .menu-toggle { display: flex; align-items: center; gap: 7px; margin-left: auto; min-height: 44px; border: 1px solid #38455e; border-radius: 24px; padding-inline: 14px; background: transparent; }
  .menu-toggle[aria-expanded="true"] { background: #22314d; }
  .header-inner nav { grid-column: 1 / -1; width: 100%; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; padding: 8px 0 4px; }
  .menu-toggle:not([hidden])[aria-expanded="false"] + nav { display: none; }
  .header-inner nav a { border: 1px solid #26354e; background: #101a2b; padding: 12px 10px; gap: 9px; line-height: 1.3; }
}
@media (max-width: 740px) {
  .discover, .catalog-groups { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .header-inner .brand { font-size: 21px; gap: 4px; }
  .header-inner .menu-toggle, .header-inner .login { padding-inline: 9px; }
  .header-inner nav a { padding-inline: 7px; gap: 5px; }
}
@media (max-width: 319px) {
  .header-inner .brand { font-size: 18px; }
  .header-inner .menu-toggle, .header-inner .login { padding-inline: 6px; }
  .header-inner nav { grid-template-columns: 1fr; }
}
@media (max-width: 359px) {
  .header-inner .menu-toggle { width: 44px; font-size: 0; gap: 0; justify-content: center; }
}

/* Keep the steps within each compatibility answer visually distinct. */
.content-card > div > * + * { margin-top: 12px; }
.content-card > div > .text-link { display: inline-flex; }

.devices .device-short { display: none; }
.trial-bar { position: fixed; z-index: 20; bottom: max(10px,env(safe-area-inset-bottom)); inset-inline: 10px; margin-inline: auto; width: fit-content; max-width: calc(100% - 20px); display: flex; align-items: center; gap: clamp(8px,2vw,24px); padding: 10px 12px 10px 18px; border: 1px solid #536280; border-radius: 16px; background: #101b30; color: white; box-shadow: 0 6px 26px #070d193d; }
.trial-bar small, .trial-bar strong { display: block; }
.trial-bar small { font-size: 12px; color: #e6ca99; }
.trial-bar .button { white-space: nowrap; }
.trial-close { width: 44px; min-height: 44px; flex: none; background: none; border: none; color: white; font-size: 22px; }
.trial-visible .footer { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
.trial-includes { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.trial-includes div { padding: clamp(16px,3vw,32px) 0; border: 0; border-top: 1px solid var(--line); background: transparent; }
.trial-includes strong { display: block; font-size: clamp(30px,4vw,48px); color: #354e94; }
.trial-includes span { color: var(--muted); }
.plan-rate { font-size: clamp(24px,3vw,36px); color: #d7dfff; font-weight: 650; }
#richiesta { padding: clamp(14px,2.4vw,28px); background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 5px 20px #18294c09; }
#richiesta > p { font-size: 14px; color: var(--muted); }
#richiesta button { margin-top: 16px; }
#esito:not(:empty) { margin-top: 16px; font-weight: 600; }
@media (max-width: 650px) {
  .trial-bar { width: auto; display: grid; grid-template-columns: minmax(0,1fr) 44px; gap: 6px 8px; padding: 9px 12px; }
  .trial-bar strong { font-size: 16px; }
  .trial-bar strong span { display: inline-block; font-weight: normal; font-size: 13px; white-space: nowrap; }
  .trial-bar .button { grid-column: 1 / -1; min-height: 44px; }
  .trial-close { grid-row: 1; grid-column: 2; }
  .trial-visible .footer { padding-bottom: calc(160px + env(safe-area-inset-bottom)); }
  .trial-includes { grid-template-columns: 1fr; }
}
@media (max-height: 440px) and (orientation: landscape) {
  .trial-bar { position: static; margin: 10px auto; }
  .trial-visible .footer { padding-bottom: 20px; }
}
@media (max-width: 700px) {
  .devices { flex-wrap: nowrap; justify-content: space-between; gap: 5px; min-height: 48px; }
  .devices > span { gap: 4px; white-space: nowrap; font-size: clamp(11px, 3vw, 13px); }
  .devices svg { width: 15px; height: 15px; flex: none; }
  .devices .device-full { display: none; }
  .devices .device-short { display: inline; }
}

.workstation-scroll { margin-top: 32px; }
.workstation-cards { margin: 0; grid-template-columns: repeat(3,minmax(0,1fr)); }
.workstation-phone { margin-top: 24px; padding: 18px clamp(16px,3vw,32px); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px 22px; border: 1px solid #334766; border-radius: 14px; background: linear-gradient(110deg,#223653,#101a2d 70%); color: #fff; text-decoration: none; }
.phone-signal { width: 64px; height: 48px; color: #e3eaff; }
.workstation-phone h3 { font-size: clamp(20px,2vw,26px); line-height: 1.18; letter-spacing: -.035em; }
.workstation-phone p { margin-top: 4px; color: #d3dded; }
#phone-action { color: #e5eaff; font-weight: 650; white-space: nowrap; }
.workstation-phone:is(:hover,:focus-visible) #phone-action { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) {
  .workstation-cards { grid-template-columns: 1fr; }
  .workstation-phone { grid-template-columns: auto minmax(0,1fr); gap: 8px 12px; }
  .phone-signal { width: 42px; align-self: start; }
  #phone-action { grid-column: 2; }
  .workstation-scroll.is-travelling { height: var(--journey-height); }
  .is-travelling .workstation-window { position: sticky; top: var(--header-offset); overflow: clip; }
  .is-travelling .workstation-cards { display: flex; transform: translateX(var(--offset, 0px)); }
  .is-travelling .guide-card { flex: 0 0 100%; }
  .is-travelling .guide-card:focus-visible { outline-offset: -4px; }
  .is-travelling .shot img { max-height: 24svh; }
  body.workstation-in-view .trial-bar { visibility: hidden; }
}

.consent-panel[open] { position: fixed; inset: auto auto max(10px,env(safe-area-inset-bottom)) 50%; transform: translateX(-50%); margin: 0; z-index: 20; width: min(620px,calc(100% - 24px)); max-height: 85vh; overflow: auto; padding: 18px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); background: white; box-shadow: 0 8px 40px #16223e38; }
.consent-panel h2 { font-size: 21px; }
.consent-panel p { margin-block: 6px; font-size: 14px; }
#consent-options { margin-block: 10px; }
.consent-panel label { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; border-top: 1px solid var(--line); cursor: pointer; }
.consent-panel input[role="switch"] { appearance: none; flex: none; width: 42px; height: 24px; padding: 2px; margin: 0 4px; background: #64748b; border: 1px solid transparent; border-radius: 20px; cursor: pointer; }
.consent-panel input[role="switch"]::after { content: ""; display: block; width: 18px; height: 18px; background: white; border-radius: 50%; }
.consent-panel input[role="switch"]:checked { background: #385991; }
.consent-panel input[role="switch"]:checked::after { transform: translateX(18px); }
@media (forced-colors: active) {
  .consent-panel input[role="switch"] { border-color: ButtonText; }
  .consent-panel input[role="switch"]::after { background: ButtonText; forced-color-adjust: none; }
}
.consent-panel div { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
.consent-panel button { min-height: 44px; padding: 6px; color: #293d62; background: #eaf0f9; border: 1px solid #becce0; border-radius: 8px; }
.consent-panel button:hover { background: #dde7f5; }
.consent-panel button[value="all"] { color: white; background: #385991; border-color: #385991; }
.consent-panel button[value="all"]:hover { background: #294779; }
@media (max-width: 420px) {
  .consent-panel[open] { padding: 12px; }
  .consent-panel button { padding-inline: 2px; font-size: 14px; overflow-wrap: anywhere; }
}
.footer [data-cookie-settings] { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; padding: 6px 12px; background: transparent; border: 1px solid #526179; border-radius: 8px; color: #e2e8f2; font-size: 14px; }
.footer [data-cookie-settings]:hover { background: #20304a; }

.header-account { display: flex; align-items: center; gap: 6px; grid-column: 3; grid-row: 1; }
.site-languages { display: inline-flex; align-items: center; }
.site-languages a { display: grid; place-items: center; min-width: 36px; min-height: 36px; border-radius: 4px; color: #b7c3d5; font-size: 13px; font-weight: 550; text-decoration: none; }
.site-languages a:hover { color: white; background: #1b283b; }
.site-languages a[aria-current] { color: #fff; font-weight: 700; text-decoration: underline; text-decoration-color: #dfc59e; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.site-languages a:focus-visible { outline: 2px solid #edc78d; outline-offset: -2px; }
@media (min-width: 1296px) { .header-inner { column-gap: 8px; } }

@media (max-width: 740px) {
  .header-inner { grid-template-columns: minmax(0,1fr) auto; gap: 0 12px; }
  .header-inner .menu-toggle { width: auto; gap: 8px; padding-inline: 12px; font-size: 14px; }
  .header-inner nav { grid-row: 2; grid-template-columns: 1fr; gap: 0; padding-block: 4px; }
  .header-inner nav a {
    min-height: 44px; padding: 8px 4px; gap: 12px; border: 0;
    border-bottom: 1px solid #26354e; border-radius: 0; background: transparent;
  }
  .header-inner nav a .glyph { width: 18px; height: 18px; }
  .header-account { grid-column: 1 / -1; grid-row: 3; justify-content: space-between; padding-top: 6px; }
  .menu-toggle:not([hidden])[aria-expanded="false"] ~ .header-account { display: none; }
  .site-languages a { min-height: 44px; min-width: 44px; }
}

/* Match the initial collapsed layout before the deferred menu script runs.
   When scripting is disabled, leave the regular navigation visible. */
@media (width < 81em) and (scripting: enabled) {
  .header-inner .menu-toggle[hidden] { display: flex !important; }
  .menu-toggle[aria-expanded="false"] + nav { display: none; }
}
@media (max-width: 740px) and (scripting: enabled) {
  .menu-toggle[aria-expanded="false"] ~ .header-account { display: none; }
}

.hero h1.benefit-title { font-size: clamp(40px, 4.5vw, 68px); letter-spacing: -.055em; }
.reporting-benefits { padding-block: clamp(28px, 4vw, 52px); }
.time-scenario { background: radial-gradient(ellipse at top right, #284661, transparent 55%), #122239; color: #f4f7fb; padding: clamp(20px, 4vw, 46px); border-radius: 20px; }
.time-scenario h2 { margin: 8px 0; font-size: clamp(25px, 3.2vw, 42px); line-height: 1.12; }
.scenario-label { color: #f4cf90; font-size: .83rem; font-weight: 700; }
.scenario-plot { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(20px, 5vw, 68px); margin-block: 24px; }
.scenario-bars { display: grid; gap: 14px; }
.scenario-row { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; margin-bottom: 5px; }
.scenario-track { height: 12px; border-radius: 8px; background: repeating-linear-gradient(135deg,#40516a 0 2px,transparent 2px 6px); }
.scenario-track i { display: block; border-radius: inherit; height: 100%; background: #bacce8; }
.scenario-track.short i { width: 60%; background: #83d6cf; }
.scenario-saving { display: flex; align-items: center; gap: 14px; max-width: 240px; }
.scenario-ring { flex: none; position: relative; display: grid; place-items: center; width: 90px; height: 90px; font-size: 24px; font-weight: 700; }
.scenario-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.time-scenario .scenario-foot { border-top: 1px solid #495a71; padding-top: 14px; color: #d3deef; }
.time-scenario .text-link { display: inline-block; margin-top: 12px; color: #f4cf90; }
@media (max-width: 740px) { .scenario-plot { grid-template-columns: 1fr; } }
.benefit-paths { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 320px),1fr)); gap: 18px; margin-top: 28px; }
.benefit-paths article {
  --path-ink: #193651; --path-accent: #356984; --path-line: #b6cddb;
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  padding: clamp(20px,3vw,36px); border: 1px solid var(--path-line); border-radius: 16px;
  color: var(--path-ink); background: linear-gradient(130deg,#fff 40%,#eef5fa);
}
.benefit-paths .centre-path {
  --path-ink: #f3f6fa; --path-accent: #edcc91; --path-line: #52657b;
  background: linear-gradient(125deg,#15283d 35%,#29465a);
}
.benefit-paths .path-label { display: flex; align-items: center; gap: 10px; color: var(--path-accent); font: 700 .76rem/1.3 system-ui,sans-serif; text-transform: uppercase; letter-spacing: .08em; }
.benefit-paths .path-label svg { width: 35px; height: 35px; padding: 7px; border: 1px solid var(--path-line); border-radius: 9px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.benefit-paths h3 { margin: 0; font-size: clamp(25px,2.4vw,36px); line-height: 1.1; color: inherit; }
.benefit-paths p { margin: 0; max-width: 48ch; line-height: 1.55; color: inherit; }
.benefit-paths .path-action { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-top: auto; padding: 10px 16px; border-radius: 7px; background: #193651; color: #fff; font-weight: 700; text-decoration: none; }
.benefit-paths .centre-path .path-action { background: #eed29e; color: #172a3d; }
.benefit-paths .path-action:is(:hover,:focus-visible) { text-decoration: underline; text-underline-offset: 3px; }
.benefit-paths .path-action:focus-visible { outline: 3px solid var(--path-accent); outline-offset: 3px; }

#matrice-ris table { width: 100%; border-collapse: collapse; line-height: 1.5; }
#matrice-ris caption { text-align: left; padding-bottom: 12px; color: var(--muted); }
#matrice-ris th, #matrice-ris td { text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); padding: 10px 6px; }
#matrice-ris thead { background: #edf2f8; }
#matrice-ris tbody th { width: 32%; }

/* Editorial motion: the document remains readable before and without JS. */
@media screen and (prefers-reduced-motion: no-preference) {
  @keyframes editorial-arrival {
    from { opacity: .78; translate: 0 7px; }
    to { opacity: 1; translate: 0 0; }
  }
  @keyframes chart-extension {
    from { scale: .86 1; }
    to { scale: 1 1; }
  }
  main h1 { animation: editorial-arrival 420ms cubic-bezier(.2,.7,.25,1); }
  .editorial-in-view { animation: editorial-arrival 360ms ease-out; }
  .scenario-bars.editorial-in-view { animation: none; }
  .scenario-bars.editorial-in-view .scenario-track i {
    transform-origin: left center;
    animation: chart-extension 480ms cubic-bezier(.2,.7,.25,1);
  }
  .page-faq details[open] > p { animation: editorial-arrival 180ms ease-out; }
  .page-faq summary::after { transition: background-size 160ms ease-out; }
  .button:active { scale: .985; }
  @media (hover: hover) and (pointer: fine) {
    .button { transition: translate 160ms ease-out, scale 120ms ease-out, background-color 180ms, color 180ms; }
    .button:hover { translate: 0 -2px; }
    .discover a .glyph, .atlas-link .glyph { transition: translate 180ms ease-out; }
    .discover a:hover .glyph, .atlas-link:hover .glyph { translate: 3px 0; }
  }
}
