/* Kiosk APPs by GKT Group – ReceptionPRO landing
   Token: spaziatura 8pt, scala tipografica 1.25–1.333, raggi per gerarchia (device > pannello > card > controllo) */

@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/montserrat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/montserrat-latin-800-normal.woff2") format("woff2"); }
/* Ripiego con metriche allineate a Montserrat: il testo non salta quando il font arriva (CLS) */
@font-face { font-family: "Montserrat Fallback"; src: local("Arial"), local("Liberation Sans"), local("Helvetica"); size-adjust: 113.4%; ascent-override: 85.4%; descent-override: 22.1%; line-gap-override: 0%; }

:root {
    /* Colore – brand GKT Group: blu #0F70B7, indigo #2F2B6D. Nessun nero puro per il testo */
    --brand-blue: #0f70b7;
    --brand-indigo: #2f2b6d;
    --ink: #2f2b6d;
    --ink-soft: #4e4c6e;
    --ink-mute: #6b6988;
    --line: #dcdfeb;
    --line-strong: #c4c8db;
    --stone: #f1f3f9;
    --floor: #e3e7f2;
    --paper: #ffffff;
    --night: #2f2b6d;
    --night-deep: #24215a;
    --night-panel: rgba(255, 255, 255, 0.06);
    --night-line: rgba(255, 255, 255, 0.14);
    --on-night: #ecebf7;
    --on-night-soft: #c6c4e2;
    --on-night-mute: #b8b5dc;
    --device: #1e1c35;
    --device-2: #2a2845;
    --device-edge: #13122a;
    --print: #26243f;
    --signal: #4ea3e6;
    --signal-ink: #0f70b7;
    --signal-ink-hover: #0b5c97;
    --amber: #f2a516;
    --amber-ink: #a86a00;
    --free: #1f9d5b;
    --soon: #e8890c;
    --busy: #d9434a;
    /* Sfondi di stato con testo bianco (contrasto ≥ 4,5:1) */
    --free-bg: #15784a;
    --soon-bg: #a85800;
    --busy-bg: #bf2f38;

    /* Spaziatura (8pt) */
    --s1: 0.25rem; --s2: 0.5rem; --s3: 0.75rem; --s4: 1rem; --s5: 1.5rem;
    --s6: 2rem; --s7: 3rem; --s8: 4rem; --s9: 6rem; --s10: 8rem;

    /* Layout */
    --wrap: 1200px;
    --gutter: 2.5rem;
    --gap: 2rem;
    --section: var(--s10);
    --header-h: 72px;

    /* Raggi e ombre */
    --r-device: 28px;
    --r-panel: 20px;
    --r-card: 14px;
    --r-control: 10px;
    --shadow-device: 0 1px 0 rgba(255,255,255,0.06) inset, 0 32px 48px -28px rgba(47, 43, 109, 0.55);
    --shadow-panel: 0 1px 2px rgba(47, 43, 109, 0.04), 0 12px 32px -20px rgba(47, 43, 109, 0.25);

    --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", "Liberation Mono", Menlo, monospace;
}
@media (max-width: 1023px) { :root { --gutter: 2rem; --gap: 1.5rem; --section: var(--s9); } }
@media (max-width: 767px)  { :root { --gutter: 1.25rem; --gap: 1.25rem; --section: 4.5rem; --header-h: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--s5)); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
    margin: 0;
    font-family: "Montserrat", "Montserrat Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--stone);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "kern" 1;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--signal-ink); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 { margin: 0; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 1.2rem + 3.6vw, 3.875rem); line-height: 1.06; letter-spacing: -0.034em; }
h2 { font-size: clamp(1.875rem, 1.2rem + 2.1vw, 2.75rem); line-height: 1.1; letter-spacing: -0.03em; }
h3 { font-size: 1.3125rem; line-height: 1.25; letter-spacing: -0.016em; font-weight: 700; }
p { margin: 0 0 var(--s4); text-wrap: pretty; }
li { text-wrap: pretty; }
strong { font-weight: 700; color: var(--ink); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.nw { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--s4); top: -4rem; z-index: 100; background: var(--ink); color: #fff; padding: var(--s3) var(--s4); border-radius: var(--r-control); }
.skip:focus { top: var(--s4); }

.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Pulsanti ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
    height: 3.25rem; padding: 0 var(--s5);
    border-radius: var(--r-control); border: 2px solid transparent;
    font: inherit; font-weight: 700; font-size: 1rem; line-height: 1; letter-spacing: -0.005em;
    text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--signal-ink); color: #fff; }
.btn-primary:hover { background: var(--signal-ink-hover); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: var(--paper); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { height: 2.5rem; padding: 0 var(--s4); font-size: 0.9375rem; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(241, 243, 249, 0.86);
    backdrop-filter: saturate(1.5) blur(12px);
    -webkit-backdrop-filter: saturate(1.5) blur(12px);
    box-shadow: 0 1px 0 transparent;
    transition: box-shadow 0.2s, background-color 0.2s;
}
.site-header.scrolled { box-shadow: 0 1px 0 var(--line); background: rgba(241, 243, 249, 0.94); }
.site-header .wrap { display: flex; align-items: center; gap: var(--s6); height: var(--header-h); }
.brand { display: flex; align-items: center; gap: var(--s3); color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand img { width: 36px; height: 36px; }
.brand span { display: flex; flex-direction: column; font-weight: 800; font-size: 1.1875rem; line-height: 1.1; letter-spacing: -0.025em; }
.brand small { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0; line-height: 1.3; color: var(--ink-mute); margin-top: 2px; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: var(--s1); list-style: none; margin: 0; padding: 0; }
.main-nav a {
    display: block; padding: var(--s2) var(--s3); border-radius: 8px;
    color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.9375rem; line-height: 1.5; white-space: nowrap;
    transition: background-color 0.15s, color 0.15s;
}
.main-nav a:hover { background: rgba(47, 43, 109, 0.06); }
.main-nav a[aria-current="true"] { color: var(--signal-ink); }
.header-actions { display: flex; align-items: center; gap: var(--s2); white-space: nowrap; }
.header-actions .login { padding: var(--s2) var(--s3); font-weight: 600; font-size: 0.9375rem; color: var(--ink); text-decoration: none; border-radius: 8px; }
.header-actions .login:hover { background: rgba(47, 43, 109, 0.06); }
.nav-toggle { display: none; margin-left: auto; margin-right: calc(var(--s2) * -1); width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 0; border-radius: 8px; color: var(--ink); cursor: pointer; }
.nav-toggle .i { width: 26px; height: 26px; }

@media (max-width: 1100px) {
    .nav-toggle { display: inline-flex; }
    .main-nav, .header-actions { display: none; }
    .site-header.open { background: var(--stone); box-shadow: 0 1px 0 var(--line), 0 24px 40px -24px rgba(47, 43, 109, 0.35); }
    .site-header .wrap { flex-wrap: wrap; height: auto; min-height: var(--header-h); row-gap: 0; }
    .site-header .brand { height: var(--header-h); }
    .site-header.open .main-nav { display: block; order: 3; width: 100%; margin: 0; }
    .site-header.open .main-nav ul { flex-direction: column; gap: 0; padding: 0 0 var(--s3); }
    .site-header.open .main-nav a { padding: var(--s3) 0; border-radius: 0; border-top: 1px solid var(--line); font-size: 1.0625rem; }
    .site-header.open .main-nav a:hover { background: none; }
    .site-header.open .header-actions { display: flex; order: 4; width: 100%; justify-content: space-between; padding-bottom: var(--s5); }
    .site-header.open .header-actions .login { padding-left: 0; }
}

/* ---------- Hero ---------- */
.hero {
    --floor-h: 88px;
    position: relative; overflow: hidden;
    padding-top: clamp(var(--s6), 5vw, var(--s8));
    background: linear-gradient(to bottom, var(--stone) calc(100% - var(--floor-h)), var(--floor) calc(100% - var(--floor-h)));
}
.hero .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
.hero-copy { grid-column: 1 / span 7; align-self: center; padding-bottom: calc(var(--floor-h) + var(--s7)); }
.hero-visual { grid-column: 8 / span 5; display: flex; justify-content: center; }
.hero h1 { max-width: 16ch; }
.hero .lead { font-size: 1.1875rem; line-height: 1.6; color: var(--ink-soft); max-width: 34em; margin: var(--s5) 0 var(--s6); }
.hero .lead strong { font-weight: 700; }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--s3); }
.facts { list-style: none; padding: 0; margin: var(--s6) 0 0; display: grid; gap: var(--s3); }
.facts li { display: flex; gap: var(--s3); align-items: center; font-weight: 600; font-size: 0.9875rem; line-height: 1.4; }
.facts .i { width: 20px; height: 20px; color: var(--signal-ink); }
.suite { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--line-strong); max-width: 34em; }
.suite > span { flex-basis: 100%; font-size: 0.875rem; font-weight: 600; color: var(--ink-mute); margin-bottom: var(--s1); }
.chip {
    display: inline-flex; align-items: center; gap: var(--s2); height: 2rem; padding: 0 var(--s3);
    border-radius: 999px; background: var(--paper); border: 1px solid var(--line);
    font-size: 0.875rem; font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: -0.01em;
    transition: border-color 0.15s;
}
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--dot, var(--signal)); }
.chip:hover { border-color: var(--ink); }

@media (max-width: 860px) {
    .hero { --floor-h: 72px; }
    .hero-copy, .hero-visual { grid-column: 1 / -1; }
    .hero-copy { padding-bottom: var(--s8); }
}

/* ---------- Totem (hero) ---------- */
.kiosk { --kw: 320px; position: relative; width: var(--kw); margin-bottom: calc(var(--floor-h) * 0.42); }
.kiosk::after { /* ombra a terra */
    content: ""; position: absolute; left: 50%; bottom: -14px; width: 300px; height: 28px; transform: translateX(-50%);
    background: radial-gradient(closest-side, rgba(47, 43, 109, 0.28), rgba(47, 43, 109, 0)); z-index: 0;
}
.kiosk-head {
    position: relative; z-index: 2;
    background: var(--device); border-radius: var(--r-device) var(--r-device) 18px 18px;
    padding: 14px 14px 24px;
    box-shadow: var(--shadow-device);
}
.kiosk-head::before { /* fotocamera */
    content: ""; position: absolute; top: 5px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #3a3858;
}
.kiosk-screen {
    position: relative; aspect-ratio: 9 / 13; border-radius: 14px;
    background: radial-gradient(120% 70% at 50% 0%, #2d2b4a 0%, var(--device) 70%);
    color: #fff; padding: 18px 16px 16px; display: flex; flex-direction: column;
}
.ks-top { display: flex; justify-content: space-between; align-items: center; font-size: 0.6875rem; color: #c9c8de; }
.ks-org { display: flex; align-items: center; gap: 8px; font-weight: 700; color: #fff; font-size: 0.8125rem; }
.ks-org span { width: 22px; height: 22px; border-radius: 6px; background: var(--brand-blue); display: grid; place-items: center; font-size: 0.6875rem; }
.ks-clock { text-align: center; margin: 22px 0; }
.ks-clock b { display: block; font-size: 2.25rem; font-weight: 700; letter-spacing: 0.01em; line-height: 1; font-variant-numeric: tabular-nums; }
.ks-clock small { display: block; margin-top: 6px; font-size: 0.71875rem; color: #9e9cbc; }
.ks-btn {
    display: flex; align-items: center; gap: 12px; width: 100%;
    background: #f1f2f8; color: var(--ink); border: 0; border-radius: 12px;
    padding: 15px 16px; margin-bottom: 10px; text-align: left; font: inherit; cursor: pointer;
}
.ks-btn b { display: block; font-size: 1.0625rem; line-height: 1.2; }
.ks-btn small { display: block; font-size: 0.6875rem; line-height: 1.4; color: var(--ink-soft); }
.ks-btn .i { width: 28px; height: 28px; }
.ks-btn.in .i { color: var(--free); }
.ks-btn.out .i { color: var(--busy); }
.ks-btn:hover { background: #fff; }
.ks-langs { display: flex; justify-content: center; gap: 6px; margin: auto 0 12px; }
.ks-langs span { min-width: 30px; height: 22px; padding: 0 6px; border-radius: 6px; display: grid; place-items: center; font-size: 0.625rem; font-weight: 700; color: #aaa8c6; background: rgba(255,255,255,0.06); }
.ks-langs span:first-child { background: rgba(78, 163, 230, 0.3); color: #fff; }
.ks-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ks-row span { background: rgba(255,255,255,0.08); border-radius: 10px; padding: 9px 4px 8px; text-align: center; font-size: 0.65625rem; line-height: 1.2; color: #d6d5e8; }
.ks-row .i { margin: 0 auto 5px; width: 18px; height: 18px; }

.ks-done {
    position: absolute; inset: 0; padding: 18px 16px; background: var(--device); border-radius: inherit;
    display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
    opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s;
}
.ks-done .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--free); display: grid; place-items: center; margin-bottom: 18px; }
.ks-done .tick .i { width: 34px; height: 34px; stroke-width: 3; }
.ks-done p { margin: 0; font-size: 0.8125rem; line-height: 1.5; color: #c9c8de; }
.ks-done strong { display: block; font-size: 1.125rem; color: #fff; margin-bottom: 6px; }
.ks-done .code { margin: 20px 0 4px; font-family: var(--mono); font-size: 1.625rem; letter-spacing: 0.2em; color: #fff; }
.ks-done .bar { margin-top: 24px; width: 70%; height: 4px; border-radius: 4px; background: rgba(255,255,255,0.15); overflow: hidden; }
.ks-done .bar::after { content: ""; display: block; height: 100%; width: 100%; background: var(--signal); transform-origin: left; transform: scaleX(0); }

.kiosk-slot { position: relative; z-index: 3; margin: -12px auto 0; width: 62%; height: 12px; background: var(--device-edge); border-radius: 0 0 6px 6px; }
.kiosk-pole { position: relative; z-index: 1; width: 60px; height: 210px; margin: 0 auto; background: linear-gradient(90deg, #15142b, #3a3858 42%, #22203d 70%, #15142b); }
.kiosk-base { position: relative; z-index: 1; width: 200px; height: 16px; margin: 0 auto; border-radius: 10px 10px 4px 4px; background: linear-gradient(#2c2a48, #15142b); }

/* Badge 68 x 80 mm */
.badge-wrap { position: absolute; z-index: 2; left: 50%; top: calc(100% - 226px); width: 58%; transform: translateX(-50%); overflow: hidden; padding: 0 14px 26px; pointer-events: none; }
.badge {
    position: relative; aspect-ratio: 68 / 80; background: var(--paper); color: var(--print);
    padding: 9% 9% 7%; font-family: var(--mono); font-size: 0.59375rem; line-height: 1.5;
    box-shadow: 0 14px 22px -14px rgba(30, 28, 53, 0.5);
    transform: translateY(-108%);
}
.badge::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 7px; background: linear-gradient(-45deg, transparent 4px, #fff 0), linear-gradient(45deg, transparent 4px, #fff 0); background-size: 8px 8px; background-position: left bottom; background-repeat: repeat-x; }
.badge .b-logo { font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 0.75rem; letter-spacing: -0.01em; border-bottom: 1px dashed #a9a7c0; padding-bottom: 5px; margin-bottom: 7px; }
.badge .b-name { font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 0.90625rem; line-height: 1.15; letter-spacing: -0.015em; }
.badge .b-row { display: flex; justify-content: space-between; gap: 6px; white-space: nowrap; }
.badge .b-code { margin-top: 6px; }
.badge .b-bars { width: 100%; height: 26px; margin-top: 5px; }

.kiosk.printing .ks-done { opacity: 1; visibility: visible; }
.kiosk.printing .ks-done .bar::after { animation: bar 3.4s linear forwards; }
.kiosk.printing .badge { animation: print 2.4s 0.6s cubic-bezier(0.3, 0.1, 0.3, 1) forwards; }
.kiosk.printed .badge { transform: translateY(0); }
@keyframes print { 0% { transform: translateY(-108%); } 70% { transform: translateY(-8%); } 100% { transform: translateY(0); } }
@keyframes bar { to { transform: scaleX(1); } }

@media (max-width: 1023px) { .kiosk { --kw: 290px; } .kiosk-pole { height: 190px; } .badge-wrap { top: calc(100% - 206px); } }
@media (max-width: 480px) { .kiosk { --kw: 280px; } .kiosk::after { width: 260px; } .ks-clock { margin: 16px 0; } .ks-btn { padding: 13px 14px; } }

/* ---------- Sezioni ---------- */
.section { padding: var(--section) 0; }
.section-white { background: var(--paper); }
.section-dark { background: var(--night); color: var(--on-night); }
.section-dark h2, .section-dark h3, .section-dark strong { color: #fff; }

.section-head { max-width: 46rem; margin-bottom: var(--s8); }
.section-head p { font-size: 1.1875rem; line-height: 1.6; color: var(--ink-soft); margin: var(--s5) 0 0; }
.section-dark .section-head p { color: var(--on-night-soft); }
.section-head.split { max-width: none; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
.section-head.split h2 { grid-column: 1 / span 7; }
.section-head.split p { grid-column: 8 / span 5; margin: 0; padding-bottom: 0.2em; font-size: 1.0625rem; }
@media (max-width: 1023px) {
    .section-head { margin-bottom: var(--s7); }
    .section-head.split { display: block; max-width: 46rem; }
    .section-head.split p { margin-top: var(--s5); font-size: 1.1875rem; }
}

/* Elenco con spunte */
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: var(--s3) 0 var(--s3) 1.875rem; border-top: 1px solid var(--line); font-size: 0.96875rem; line-height: 1.6; }
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks li::before {
    content: ""; position: absolute; left: 2px; top: calc(var(--s3) + 0.42em); width: 13px; height: 7px;
    border-left: 2.5px solid var(--tick, var(--signal-ink)); border-bottom: 2.5px solid var(--tick, var(--signal-ink)); transform: rotate(-45deg);
}
.section-dark .ticks li { border-color: var(--night-line); }
.section-dark .ticks { --tick: var(--signal); }

/* ---------- Come funziona ---------- */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap); row-gap: var(--s7); counter-reset: step; }
.flow li { position: relative; counter-increment: step; }
.flow li::before {
    content: counter(step); position: relative; z-index: 1; display: grid; place-items: center;
    width: 44px; height: 44px; border-radius: 50%; margin-bottom: var(--s5);
    background: var(--ink); color: #fff; font-weight: 800; font-size: 1rem; box-shadow: 0 0 0 8px var(--paper);
}
.flow li::after { content: ""; position: absolute; top: 21px; left: 44px; right: calc(var(--gap) * -1); height: 2px; background: var(--line); }
.flow li:last-child::after { display: none; }
.flow h3 { font-size: 1.125rem; margin-bottom: var(--s2); }
.flow p { color: var(--ink-soft); font-size: 0.96875rem; line-height: 1.6; margin: 0; max-width: 30ch; }
@media (max-width: 1023px) {
    .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .flow li:nth-child(2)::after { display: none; }
    .flow p { max-width: 36ch; }
}
@media (max-width: 600px) {
    .flow { grid-template-columns: 1fr; row-gap: var(--s6); }
    .flow li { padding-left: 64px; }
    .flow li::before { position: absolute; left: 0; top: -10px; margin: 0; }
    .flow li::after, .flow li:nth-child(2)::after { display: block; top: 34px; left: 21px; right: auto; width: 2px; height: calc(100% + var(--s6) - 44px); }
    .flow li:last-child::after { display: none; }
}

/* ---------- Funzionalità ---------- */
.feature-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); row-gap: var(--s7); }
.feature-group h3 { display: flex; align-items: center; gap: var(--s3); height: 48px; margin-bottom: var(--s3); }
.feature-group h3 .ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--paper); color: var(--signal-ink); box-shadow: 0 0 0 1px var(--line); }
.feature-group h3 .i { width: 22px; height: 22px; }
.feature-group .ticks li strong { display: block; font-size: 1rem; line-height: 1.45; margin-bottom: 2px; }
.feature-group .ticks li { color: var(--ink-soft); padding-top: var(--s4); padding-bottom: var(--s4); }
.feature-group .ticks li::before { top: calc(var(--s4) + 0.5em); }
.feature-group .ticks li:first-child { border-top: 2px solid var(--ink); }
@media (max-width: 1100px) {
    .feature-groups { grid-template-columns: 1fr; }
    .feature-group { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
    .feature-group h3 { grid-column: 1 / span 4; align-self: start; height: auto; }
    .feature-group .ticks { grid-column: 5 / span 8; }
}
@media (max-width: 767px) {
    .feature-group { display: block; }
    .feature-group h3 { margin-bottom: var(--s4); }
}

/* ---------- Presenze ---------- */
.presenze-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: var(--s7); align-items: start; }
.presenze-grid .ticks { grid-column: 1 / span 5; }
.presenze-grid .timesheet { grid-column: 7 / span 6; }
@media (max-width: 1023px) {
    .presenze-grid .ticks, .presenze-grid .timesheet { grid-column: 1 / -1; }
}
.timesheet { background: var(--night-panel); border: 1px solid var(--night-line); border-radius: var(--r-panel); padding: var(--s5); font-size: 0.9375rem; }
.timesheet-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s4); margin-bottom: var(--s4); color: #fff; }
.timesheet-head b { font-size: 1.0625rem; letter-spacing: -0.01em; }
.timesheet-head span { color: var(--on-night-mute); font-size: 0.8125rem; }
.timesheet table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.timesheet th { text-align: left; font-weight: 600; color: var(--on-night-mute); font-size: 0.78125rem; padding: 0 var(--s3) var(--s3) 0; }
.timesheet td { padding: var(--s3) var(--s3) var(--s3) 0; border-top: 1px solid var(--night-line); color: var(--on-night); white-space: nowrap; }
.timesheet td:first-child { white-space: normal; }
.timesheet td:last-child, .timesheet th:last-child { text-align: right; padding-right: 0; }
.live { display: inline-flex; align-items: center; gap: 6px; color: #7fd6a5; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3ccf7f; box-shadow: 0 0 0 3px rgba(60, 207, 127, 0.18); }
.timesheet-foot { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); padding-top: var(--s4); border-top: 1px solid var(--night-line); }
.timesheet-foot span { display: inline-flex; align-items: center; gap: 6px; height: 2rem; padding: 0 var(--s3); border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 8px; font-size: 0.8125rem; font-weight: 600; color: var(--on-night-soft); }
.timesheet-foot .i { width: 16px; height: 16px; }
@media (max-width: 480px) { .timesheet { padding: var(--s4); font-size: 0.875rem; } .timesheet th:nth-child(3), .timesheet td:nth-child(3) { display: none; } }

/* ---------- Normativa ---------- */
.laws { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.law {
    display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0;
    border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--s6) var(--s5) var(--s5); background: var(--paper);
}
.law .ref { font-size: 0.8125rem; font-weight: 700; line-height: 1.4; color: var(--signal-ink); margin-bottom: var(--s2); }
.law .ref a { color: inherit; text-decoration-color: rgba(15, 112, 183, 0.35); }
.law .ref a:hover { text-decoration-color: currentColor; }
.law h3 { margin-bottom: var(--s4); }
.law > p { color: var(--ink-soft); font-size: 0.96875rem; line-height: 1.6; margin: 0 0 var(--s5); }
.law .law-label { margin-top: 0; font-size: 0.875rem; font-weight: 700; letter-spacing: 0; color: var(--ink); padding-top: var(--s4); border-top: 2px solid var(--ink); margin-bottom: var(--s1); }
.law .ticks li { font-size: 0.9375rem; }
.law .ticks li:first-child { border-top: 0; }
.law .ticks li:last-child { border-bottom: 0; }
.disclaimer { display: flex; gap: var(--s3); align-items: flex-start; margin-top: var(--gap); padding: var(--s4) var(--s5); background: var(--stone); border-radius: var(--r-card); font-size: 0.9375rem; line-height: 1.6; color: var(--ink-soft); }
.disclaimer .i { width: 20px; height: 20px; color: var(--ink); margin-top: 2px; }
.disclaimer p { margin: 0; max-width: 72ch; }
@media (max-width: 1100px) {
    .laws { grid-template-columns: 1fr; }
    .law { grid-row: auto; grid-template-rows: none; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding: var(--s6); }
    .law > .ref, .law > h3, .law > p { grid-column: 1 / span 6; }
    .law > .law-label, .law > .ticks { grid-column: 8 / span 5; }
    .law > .law-label { grid-row: 1; align-self: start; }
    .law > .ticks { grid-row: 2 / span 3; }
}
@media (max-width: 767px) {
    .law { display: block; padding: var(--s5); }
    .law > .ref { display: block; }
}

/* ---------- Kiosk APPs ---------- */
.apps-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-bottom: var(--s9); }
.app-tile {
    position: relative; display: flex; flex-direction: column; gap: var(--s1);
    padding: var(--s5); border-radius: var(--r-card); background: var(--paper);
    border: 1px solid var(--line); color: var(--ink); text-decoration: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.app-tile::before { content: ""; position: absolute; left: var(--s5); right: var(--s5); top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: var(--dot); }
.app-tile b { font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.02em; }
.app-tile span { color: var(--ink-soft); font-size: 0.9375rem; line-height: 1.5; }
.app-tile small { margin-top: var(--s3); font-size: 0.8125rem; font-weight: 600; color: var(--ink-mute); display: flex; align-items: center; gap: 6px; }
.app-tile small .i { width: 16px; height: 16px; }
.app-tile:hover { border-color: var(--line-strong); box-shadow: var(--shadow-panel); }
@media (max-width: 900px) { .apps-index { grid-template-columns: 1fr; gap: var(--s3); margin-bottom: var(--s8); } }

.app { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: var(--s7); align-items: center; }
.app + .app { margin-top: var(--s9); padding-top: var(--s9); border-top: 1px solid var(--line-strong); }
.app-copy { grid-column: 1 / span 5; }
.app-visual { grid-column: 7 / span 6; display: flex; flex-direction: column; align-items: center; }
.app.flip .app-copy { grid-column: 8 / span 5; }
.app.flip .app-visual { grid-column: 1 / span 6; grid-row: 1; }
.app h3 { display: flex; align-items: center; gap: var(--s3); font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.25rem); line-height: 1.1; letter-spacing: -0.028em; font-weight: 800; }
.app h3::before { content: ""; width: 14px; height: 14px; border-radius: 4px; background: var(--dot); flex: none; }
.app .app-kind { font-size: 1.0625rem; font-weight: 600; line-height: 1.45; color: var(--ink-soft); margin: var(--s2) 0 0; }
.app .app-intro { margin: var(--s5) 0; font-size: 1.0625rem; line-height: 1.65; }
.app .ticks li { font-size: 0.9375rem; }
.app-ec { --dot: var(--amber); --tick: var(--amber-ink); }
.app-cr { --dot: var(--free); --tick: var(--free); }
@media (max-width: 1023px) {
    .app + .app { margin-top: var(--s8); padding-top: var(--s8); }
    .app-copy, .app.flip .app-copy, .app-visual, .app.flip .app-visual { grid-column: 1 / -1; }
    .app-visual, .app.flip .app-visual { grid-row: 1; }
    .app-copy { max-width: 40rem; }
}

/* EliminaCode: TV + ticket */
.tv { position: relative; width: min(520px, 100%); padding-bottom: 25%; }
.tv-screen {
    aspect-ratio: 16 / 9; background: #1a1840; border: 12px solid var(--device-edge); border-radius: 16px;
    display: grid; grid-template-columns: 1.35fr 1fr; color: #fff; overflow: hidden;
    box-shadow: var(--shadow-device);
}
.tv-now { padding: 8% 9%; display: flex; flex-direction: column; justify-content: center; background: #24215a; }
.tv-now small { font-size: clamp(0.625rem, 1.3vw, 0.8125rem); color: #b4b2d6; font-weight: 600; }
.tv-now b { display: block; white-space: nowrap; font-size: clamp(1.75rem, 4.8vw, 3rem); font-weight: 800; line-height: 1; color: var(--amber); letter-spacing: -0.02em; margin: 0.35em 0 0.3em; font-variant-numeric: tabular-nums; }
.tv-now b.flash { animation: flash 1s 3; }
.tv-now span { font-size: clamp(0.875rem, 1.9vw, 1.1875rem); font-weight: 700; }
.tv-list { list-style: none; margin: 0; padding: 8% 9%; font-size: clamp(0.625rem, 1.3vw, 0.8125rem); display: flex; flex-direction: column; justify-content: center; }
.tv-list li { display: flex; justify-content: space-between; gap: 0.5rem; white-space: nowrap; padding: 0.42em 0; border-bottom: 1px solid #343168; font-variant-numeric: tabular-nums; }
.tv-list li:last-child { border-bottom: 0; }
.tv-list li.ns { color: #8a87b3; }
.tv-stand { width: 32%; height: 14px; margin: 0 auto; background: linear-gradient(var(--device-2), var(--device-edge)); border-radius: 0 0 8px 8px; }
@keyframes flash { 50% { opacity: 0.25; } }
.ticket {
    position: absolute; right: 7%; bottom: 0; width: 24%; aspect-ratio: 68 / 80;
    background: #fff; color: var(--print); padding: 6%; text-align: center; font-family: var(--mono); font-size: clamp(0.5rem, 1.1vw, 0.65625rem); line-height: 1.45;
    transform: rotate(4deg); transform-origin: bottom right; box-shadow: 0 18px 28px -14px rgba(30, 28, 53, 0.4);
    display: flex; flex-direction: column; justify-content: center;
}
.ticket b { display: block; white-space: nowrap; font-family: "Montserrat", sans-serif; font-size: clamp(0.9375rem, 2.1vw, 1.3125rem); font-weight: 800; letter-spacing: -0.02em; margin: 0.25em 0; color: var(--print); }

/* ClickRoom: tablet a parete */
.tablet { width: min(480px, 100%); background: var(--device); border-radius: var(--r-device); padding: 14px; box-shadow: var(--shadow-device); }
.tablet-screen { aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; display: grid; grid-template-columns: 1.25fr 1fr; background: #fff; }
.tab-status { background: var(--free-bg); color: #fff; padding: 8% 9%; display: flex; flex-direction: column; transition: background-color 0.5s; }
.tab-status .room { font-weight: 800; font-size: clamp(0.875rem, 1.9vw, 1.125rem); line-height: 1.2; letter-spacing: -0.01em; }
.tab-status .room small { display: block; font-weight: 500; font-size: 0.75em; margin-top: 3px; letter-spacing: 0; }
.tab-status .state { margin-top: auto; }
.tab-status .state b { display: block; font-size: clamp(1.75rem, 5vw, 2.875rem); line-height: 1; letter-spacing: -0.03em; }
.tab-status .state span { display: block; font-size: clamp(0.6875rem, 1.5vw, 0.875rem); line-height: 1.4; margin-top: 0.5em; }
.tab-status .tab-btn { margin-top: 1.1em; background: #fff; color: var(--ink); border-radius: 10px; padding: 0.7em 0.8em; font-weight: 700; font-size: clamp(0.6875rem, 1.5vw, 0.875rem); text-align: center; }
.tab-agenda { padding: 8% 9%; font-size: clamp(0.625rem, 1.3vw, 0.8125rem); line-height: 1.4; color: var(--ink); display: flex; flex-direction: column; }
.tab-agenda .clock { font-weight: 800; font-size: clamp(1rem, 2.5vw, 1.5rem); line-height: 1.1; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.tab-agenda .day { color: var(--ink-soft); margin: 0.3em 0 1.2em; }
.tab-agenda .ev { border-left: 3px solid var(--line); padding: 0.15em 0 0.15em 0.7em; margin-bottom: 0.9em; }
.tab-agenda .ev b { display: block; }
.tab-agenda .ev span { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.tab-agenda .ev.next { border-left-color: var(--soon); }
.tab-agenda .find { margin-top: auto; border: 1.5px solid var(--line-strong); border-radius: 10px; padding: 0.7em 0.5em; text-align: center; font-weight: 700; }
.status-keys { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin-top: var(--s5); font-size: 0.8125rem; font-weight: 600; color: var(--ink-soft); justify-content: center; }
.status-keys span { display: inline-flex; align-items: center; gap: var(--s2); }
.status-keys span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }

/* ---------- Hardware ---------- */
.hw { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.hw-item { display: grid; grid-template-columns: 48px 1fr; column-gap: var(--s5); align-items: start; background: var(--stone); border-radius: var(--r-card); padding: var(--s6); }
.hw-item .ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--paper); color: var(--signal-ink); box-shadow: 0 0 0 1px var(--line); }
.hw-item .ico .i { width: 24px; height: 24px; }
.hw-item h3 { margin: 10px 0 var(--s3); }
.hw-item p { color: var(--ink-soft); margin: 0; font-size: 0.96875rem; line-height: 1.6; }
@media (max-width: 860px) { .hw { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .hw-item { grid-template-columns: 1fr; padding: var(--s5); } .hw-item h3 { margin-top: var(--s4); } }

/* ---------- Chi sviluppa ---------- */
.about { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: var(--s7); align-items: start; }
.about-copy { grid-column: 1 / span 6; }
.about-copy p { color: var(--ink-soft); font-size: 1.0625rem; line-height: 1.65; max-width: 36em; }
.about-copy h2 { margin: var(--s6) 0 var(--s5); }
.about-logo { width: 200px; height: auto; }
.changelog { grid-column: 8 / span 5; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--s6); }
.changelog h3 { font-size: 1.0625rem; margin-bottom: var(--s4); }
.changelog ol { list-style: none; margin: 0; padding: 0; }
.changelog li { position: relative; display: grid; grid-template-columns: 8.5rem 1fr; gap: var(--s3); padding: var(--s3) 0 var(--s3) var(--s5); border-top: 1px solid var(--line); font-size: 0.9375rem; line-height: 1.5; color: var(--ink-soft); }
.changelog li::before { content: ""; position: absolute; left: 0; top: calc(var(--s3) + 0.45em); width: 8px; height: 8px; border-radius: 50%; background: var(--brand-blue); }
.changelog li:first-child::before { box-shadow: 0 0 0 4px rgba(15, 112, 183, 0.18); }
.changelog time { font-weight: 700; color: var(--ink); }
@media (max-width: 1023px) { .about-copy, .changelog { grid-column: 1 / -1; } }
@media (max-width: 480px) { .changelog { padding: var(--s5); } .changelog li { grid-template-columns: 1fr; gap: 0; } }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.faq-layout .section-head { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + var(--s6)); margin: 0; }
.faq-layout .section-head p { font-size: 1.0625rem; }
.faq { grid-column: 6 / span 7; }
@media (max-width: 1023px) {
    .faq-layout .section-head, .faq { grid-column: 1 / -1; }
    .faq-layout .section-head { position: static; margin-bottom: var(--s6); }
}
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq details:first-child { border-top: 2px solid var(--ink); }
.faq summary {
    list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s5);
    padding: var(--s5) 0; font-weight: 700; font-size: 1.0625rem; line-height: 1.4; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
    background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f2b6d' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
    box-shadow: 0 0 0 1px var(--line-strong); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--signal-ink); }
.faq .answer { padding: 0 var(--s8) var(--s5) 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.7; }
.faq .answer p:last-child { margin-bottom: 0; }
@media (max-width: 767px) { .faq .answer { padding-right: 0; } }

/* ---------- Contatti ---------- */
.contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: var(--s7); align-items: start; }
.contact-info { grid-column: 1 / span 5; }
.form { grid-column: 7 / span 6; }
@media (max-width: 1023px) { .contact-info, .form { grid-column: 1 / -1; } .contact-info { max-width: 40rem; } }
.contact-info p { color: var(--on-night-soft); font-size: 1.1875rem; line-height: 1.6; margin: var(--s5) 0 0; }
.contact-lines { list-style: none; padding: var(--s6) 0 0; margin: var(--s6) 0 0; display: grid; gap: var(--s4); border-top: 1px solid var(--night-line); }
.contact-lines li { display: flex; gap: var(--s3); align-items: center; font-size: 1rem; }
.contact-lines .i { width: 20px; height: 20px; color: var(--signal); }
.contact-lines a { color: #fff; text-decoration: none; font-weight: 600; }
.contact-lines a:hover { text-decoration: underline; }
.form { background: var(--paper); color: var(--ink); border-radius: var(--r-panel); padding: var(--s6); box-shadow: 0 32px 64px -32px rgba(20, 18, 60, 0.55); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5) var(--s4); }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form { padding: var(--s5); } .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: 0.875rem; line-height: 1.4; margin-bottom: var(--s2); }
.field label .opt { font-weight: 500; color: var(--ink-mute); }
.field input, .field select, .field textarea {
    display: block; width: 100%; height: 3rem; font: inherit; font-size: 1rem; line-height: 1.4; color: var(--ink);
    background: #fff; border: 1.5px solid var(--line-strong); border-radius: var(--r-control); padding: 0 var(--s4);
    transition: border-color 0.15s, box-shadow 0.15s;
}
.field select {
    appearance: none; -webkit-appearance: none; padding-right: var(--s7);
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f2b6d' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right var(--s4) center / 16px no-repeat;
}
.field textarea { height: auto; min-height: 8rem; padding: var(--s3) var(--s4); resize: vertical; }
.field textarea::placeholder { color: #8a88a6; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #a3a7c2; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--signal-ink); box-shadow: 0 0 0 4px rgba(15, 112, 183, 0.22); }
.field [aria-invalid="true"] { border-color: var(--busy); }
.consent { display: flex; gap: var(--s3); align-items: flex-start; font-size: 0.875rem; line-height: 1.55; color: var(--ink-soft); }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--signal-ink); }
.form .btn { width: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin-top: var(--s4); padding: var(--s3) var(--s4); border-radius: var(--r-control); font-size: 0.9375rem; line-height: 1.5; display: none; }
.form-msg.ok { display: block; background: #e6f6ed; color: #13623a; }
.form-msg.err { display: block; background: #fdeced; color: #9b1c22; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night-deep); color: var(--on-night-soft); padding: var(--s9) 0 var(--s6); font-size: 0.9375rem; line-height: 1.6; }
.site-footer a { color: var(--on-night); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: var(--s7); }
.footer-grid > :nth-child(1) { grid-column: 1 / span 4; }
.footer-grid > :nth-child(2) { grid-column: 5 / span 3; }
.footer-grid > :nth-child(3) { grid-column: 8 / span 3; }
.footer-grid > :nth-child(4) { grid-column: 11 / span 2; }
.footer-title { font-size: 0.875rem; line-height: 1.4; color: #fff; margin: 0 0 var(--s4); font-weight: 700; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.footer-grid p { margin: var(--s4) 0 0; max-width: 30ch; }
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: var(--on-night-mute); }
.footer-bottom { margin-top: var(--s8); padding-top: var(--s5); border-top: 1px solid var(--night-line); display: flex; flex-wrap: wrap; gap: var(--s2) var(--s6); justify-content: space-between; font-size: 0.8125rem; color: var(--on-night-mute); }
@media (max-width: 1023px) {
    .footer-grid > :nth-child(1) { grid-column: 1 / -1; }
    .footer-grid > :nth-child(2) { grid-column: 1 / span 4; }
    .footer-grid > :nth-child(3) { grid-column: 5 / span 4; }
    .footer-grid > :nth-child(4) { grid-column: 9 / span 4; }
}
@media (max-width: 600px) {
    .footer-grid > :nth-child(n) { grid-column: 1 / -1; }
}

/* ---------- Pagine legali ---------- */
.legal { padding: var(--s8) 0 var(--section); }
.legal article { background: var(--paper); border-radius: var(--r-panel); padding: clamp(var(--s5), 5vw, var(--s8)); max-width: 52rem; margin: 0 auto; box-shadow: var(--shadow-panel); }
.legal h1 { font-size: clamp(1.875rem, 1.3rem + 2vw, 2.5rem); margin-bottom: var(--s6); }
.legal h2 { font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.016em; margin: var(--s7) 0 var(--s3); }
.legal ul { padding-left: 1.25rem; }
.legal li { margin-bottom: var(--s2); }
.legal .back { display: inline-flex; margin-bottom: var(--s5); font-weight: 600; font-size: 0.9375rem; }
