/* ============================================================
   SKOOB — landing single page · v3
   Moderno / minimal / professionale. Sfondo sfumato cool +
   geometrie sottili. Accento indigo. Font Plus Jakarta Sans.
   ============================================================ */

:root {
	--ink:        #191b28;
	--ink-2:      #454a60;
	--muted:      #7a8098;
	--page:       #e9ebf5;   /* base sotto le velature "Aurora" */
	--surface:    #ffffff;   /* card nitide che risaltano sullo sfondo colorato */
	--surface-2:  #f2f4fb;   /* riquadro tenue */
	--line:       #e6e8f4;
	--line-2:     #dcdfef;

	--accent:     #5b57e6;   /* indigo/violetto */
	--accent-600: #4a45cf;
	--accent-700: #3d39ad;
	--accent-tint:#edecfd;
	--accent-ring:rgba(91,87,230,.22);
	--teal:       #26c0bd;   /* secondario tenue (solo geometrie) */

	--r:          14px;
	--r-lg:       24px;
	--wrap:       1140px;

	--font:       "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	--shadow-sm:  0 1px 2px rgba(25,27,40,.06);
	--shadow:     0 18px 40px -22px rgba(40,44,90,.30);
	--shadow-lg:  0 44px 90px -46px rgba(40,44,90,.42);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--page); }

body {
	margin: 0;
	font-family: var(--font);
	color: var(--ink);
	line-height: 1.62;
	background: transparent;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
a { color: inherit; }

/* ---------- SFONDO sfumato + geometrie ---------- */
.skoob-bg {
	position: fixed; inset: 0; z-index: -1;
	/* Sfondo onde viola: immagine fornita dall'utente (assets/bg-waves.png) */
	background: url("bg-waves.png") center center / cover no-repeat, #ece9fb;
}
/* righe orizzontali sottili (carta a righe), statiche e discrete — nessun gradient di colore */
.skoob-bg__grid {
	position: absolute; inset: 0;
	background-image: linear-gradient(to bottom, rgba(29,31,46,.04) 1px, transparent 1px);
	background-size: 100% 34px;
}
/* Forme squadrate (rounded-square) sparse: motivo geometrico che richiama i "chip" dell'eroe */
.skoob-bg__shapes { position: absolute; inset: 0; overflow: hidden; }
.skoob-sq { position: absolute; border-radius: 18px; }
.skoob-sq--a { width: 156px; height: 156px; top: 9%;  left: 3%;    border: 2px solid rgba(91,87,230,.17);  transform: rotate(15deg); }
.skoob-sq--b { width: 82px;  height: 82px;  top: 55%; left: 8%;    background: rgba(91,87,230,.08);        transform: rotate(-12deg); border-radius: 18px; }
.skoob-sq--c { width: 116px; height: 116px; bottom: 8%; right: 5%; border: 2px solid rgba(126,86,224,.17); transform: rotate(-18deg); }
.skoob-sq--d { width: 48px;  height: 48px;  top: 21%; right: 28%;  background: rgba(38,192,189,.10);       transform: rotate(12deg);  border-radius: 13px; }
.skoob-sq--e { width: 66px;  height: 66px;  bottom: 27%; left: 46%; border: 2px solid rgba(91,87,230,.12); transform: rotate(8deg);   border-radius: 16px; }
.skoob-sq--f { width: 128px; height: 128px; top: 3%;  left: 41%;   border: 2px solid rgba(91,87,230,.09);  transform: rotate(-8deg); }
.skoob-sq--g { width: 34px;  height: 34px;  top: 41%; left: 31%;   background: rgba(91,87,230,.07);        transform: rotate(20deg);  border-radius: 10px; }
.skoob-sq--h { width: 96px;  height: 96px;  top: 64%; right: 13%;  border: 2px solid rgba(126,86,224,.15); transform: rotate(14deg); }
.skoob-sq--i { width: 58px;  height: 58px;  top: 13%; right: 8%;   background: rgba(91,87,230,.07);        transform: rotate(-14deg); border-radius: 15px; }
.skoob-sq--j { width: 30px;  height: 30px;  bottom: 15%; left: 24%; border: 2px solid rgba(38,192,189,.20); transform: rotate(10deg);  border-radius: 9px; }
.skoob-sq--k { width: 74px;  height: 74px;  bottom: 6%; left: 12%;  background: rgba(126,86,224,.07);       transform: rotate(-16deg); border-radius: 17px; }
.skoob-sq--l { width: 40px;  height: 40px;  top: 33%; right: 4%;   border: 2px solid rgba(91,87,230,.14);  transform: rotate(6deg);   border-radius: 12px; }

.skoob-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }

/* eyebrow a pillola */
.skoob-eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	background: var(--accent-tint); color: var(--accent-700);
	padding: 7px 14px; border-radius: 999px;
	font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
	margin: 0 0 20px;
}
.skoob-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* ---------- HEADER ---------- */
.skoob-header { padding: 26px 0; }
.skoob-header__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.skoob-brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.skoob-brand .skoob-mark { color: var(--accent); }
.skoob-brand__name { font-weight: 800; letter-spacing: -.01em; font-size: 23px; }
.skoob-mark { display: block; }
/* Logo lockup Pagenus (raster): coppia chiaro/scuro gestita da pgn-brand ([data-theme]).
   Il vecchio fallback adattivo (.skoob-*__legacy) non serve più → sempre nascosto. */
.skoob-brand__logo { height: 34px; width: auto; }
.skoob-footer__logo { height: 54px; width: auto; }
.skoob-brand__legacy, .skoob-footer__legacy { display: none !important; }

.skoob-langs { display: flex; gap: 6px; flex-wrap: wrap; }
.skoob-flag {
	width: 29px; height: 20px; padding: 0;
	border: 1px solid var(--line-2); border-radius: 4px;
	background: #fff; overflow: hidden; cursor: pointer; display: inline-flex;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
	filter: saturate(.92);
}
.skoob-flag svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.skoob-flag:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.skoob-flag.is-active { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-ring); filter: saturate(1.05); }

/* ---------- HERO ---------- */
.skoob-hero { padding: 40px 0 30px; }
.skoob-hero__in { display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
.skoob-hero__title {
	font-weight: 800; font-size: clamp(40px, 5.4vw, 64px);
	line-height: 1.05; letter-spacing: -.025em; margin: 0 0 22px;
}
.skoob-hero__lead { font-size: clamp(16px, 1.4vw, 18.5px); color: var(--ink-2); max-width: 33em; margin: 0; }
.skoob-hero__lead strong { color: var(--ink); font-weight: 700; }
.skoob-hero__lead em { font-style: normal; color: var(--ink); font-weight: 700; }
.skoob-hl { color: var(--accent); font-weight: 600; }
.skoob-hero__lead .skoob-hl { color: var(--ink); font-weight: 700; }

.skoob-hero__art { position: relative; }
.skoob-hero__svg { width: 100%; height: auto; display: block; }

/* ---------- CARD RISCATTO ---------- */
.skoob-redeem { padding: 30px 0 78px; }
.skoob-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	padding: clamp(30px, 4vw, 58px);
	display: grid; grid-template-columns: 1fr 1.12fr;
	gap: clamp(32px, 5vw, 66px); align-items: center;
	box-shadow: var(--shadow-lg);
}
.skoob-card__title {
	font-weight: 800; font-size: clamp(25px, 3vw, 36px);
	line-height: 1.14; letter-spacing: -.02em; margin: 14px 0 16px;
}
.skoob-card__lead { font-size: 15.5px; color: var(--ink-2); margin: 0; }
.skoob-card__lead strong { color: var(--ink); font-weight: 600; }
.skoob-card__lead em { font-style: normal; color: var(--accent-700); font-weight: 600; }

/* Colonna form: niente pannello (via il box-nel-box) — vive direttamente sulla card.
   Le caselle codice restano l'unico elemento "a riquadro", così il fuoco è chiaro. */
.skoob-card__form {
	display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.skoob-qr {
	width: 62px; height: 62px; display: grid; place-items: center;
	color: var(--accent); background: var(--accent-tint); border-radius: 16px;
}
.skoob-qr svg { width: 38px; height: 38px; display: block; }

.skoob-code { width: 100%; max-width: 336px; text-align: center; }
.skoob-code__label { display: block; font-size: 18px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); margin-bottom: 16px; }
.skoob-code__boxes { display: flex; justify-content: center; gap: 10px; margin-bottom: 8px; }
.skoob-code__box {
	width: 50px; height: 62px;
	border: 1.5px solid rgba(91,87,230,.32); border-radius: 13px;
	background: var(--accent-tint); text-align: center;
	font-weight: 700; font-size: 26px; color: var(--ink);
	text-transform: uppercase; caret-color: var(--accent);
	transition: border-color .18s ease, box-shadow .18s ease, transform .12s ease;
}
.skoob-code__box:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-ring); transform: translateY(-1px); }
.skoob-code__box.is-filled { border-color: var(--accent); }

.skoob-code__sweep {
	height: 3px; width: 0; max-width: 100%; margin: 4px auto 10px;
	background: var(--accent); border-radius: 3px;
	transition: width .3s cubic-bezier(.2,.7,.2,1);
}
.skoob-code__boxes.is-complete + .skoob-code__sweep { width: 100%; }

.skoob-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 9px;
	border: none; cursor: pointer;
	font-family: var(--font); font-weight: 700; font-size: 15px; letter-spacing: -.01em;
	text-decoration: none; border-radius: var(--r); padding: 15px 26px;
	transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.skoob-btn svg { width: 18px; height: 18px; }
.skoob-btn--send { width: 100%; max-width: 336px; background: var(--accent); color: #fff; box-shadow: 0 14px 26px -12px rgba(91,87,230,.6); }
.skoob-btn--send:hover { transform: translateY(-2px); background: var(--accent-600); box-shadow: 0 20px 34px -14px rgba(91,87,230,.7); }
.skoob-btn--send:active { transform: translateY(0); }
.skoob-btn--go { background: var(--ink); color: #fff; margin-top: 6px; }
.skoob-btn--go:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.skoob-msg { font-size: 14px; margin: 2px 0 0; }
.skoob-msg--err {
	display: flex; align-items: center; gap: 11px; text-align: left;
	margin: 20px 0 10px; padding: 13px 16px;
	background: #fdecea; border: 1px solid #f3c2bd; border-left: 4px solid #e04b3f; border-radius: 12px;
	color: #b52619; font-weight: 600; font-size: 13.5px; line-height: 1.5;
}
.skoob-msg__ico { flex: none; display: inline-flex; color: #e04b3f; }
.skoob-msg__ico svg { width: 21px; height: 21px; }
.skoob-msg--ok { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.skoob-msg--ok .skoob-msg__check {
	width: 52px; height: 52px; border-radius: 50%;
	background: var(--accent-tint); color: var(--accent); display: grid; place-items: center;
}
.skoob-msg--ok .skoob-msg__check svg { width: 28px; height: 28px; }
.skoob-msg--ok strong { font-weight: 800; font-size: 22px; color: var(--ink); }
.skoob-msg--ok span { color: var(--muted); font-size: 14.5px; }

a:focus-visible, button:focus-visible, .skoob-flag:focus-visible {
	outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px;
}

/* ---------- FOOTER ---------- */
.skoob-footer { background: var(--surface); padding: 58px 0 28px; position: relative; margin-top: 104px; }
/* Onda-divisore morbida in cima al footer: colore = superficie del footer (via mask) → matcha chiaro E scuro */
.skoob-footer::before {
	content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: 104px;
	background: var(--surface);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 104' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M0,104 L0,52 C320,116 560,4 780,40 C1000,76 1220,110 1440,44 L1440,104 Z'/%3E%3C/svg%3E") no-repeat center bottom / 100% 100%;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 104' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M0,104 L0,52 C320,116 560,4 780,40 C1000,76 1220,110 1440,44 L1440,104 Z'/%3E%3C/svg%3E") no-repeat center bottom / 100% 100%;
	pointer-events: none;
}
.skoob-footer__in { display: grid; grid-template-columns: 1fr auto 1fr; gap: 30px; align-items: center; }
.skoob-footer__col { display: flex; flex-direction: column; gap: 14px; }
.skoob-footer__col--left { align-items: flex-start; }
.skoob-footer__col--right { align-items: flex-end; }

.skoob-fbtn {
	display: inline-flex; align-items: center; gap: 12px;
	background: var(--surface); border: 1px solid var(--line);
	border-radius: var(--r); padding: 13px 20px; min-width: 258px;
	font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ink-2);
	transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .18s ease, border-color .18s ease, background .18s ease, color .16s ease;
	will-change: transform;
}
.skoob-fbtn:hover {
	color: var(--ink);
	border-color: var(--accent);
	background: var(--accent-tint);
	transform: translateY(-2px);
	box-shadow: 0 14px 26px -14px rgba(91,87,230,.55);
}
.skoob-fbtn:active { transform: translateY(0); box-shadow: 0 6px 14px -12px rgba(91,87,230,.5); }
.skoob-fbtn:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(91,87,230,.2); }
.skoob-footer__col--left .skoob-fbtn { font-weight: 700; color: var(--ink); }
.skoob-fbtn__i { color: var(--ink); display: inline-flex; flex: none; transition: color .18s ease, transform .18s cubic-bezier(.2,.7,.3,1); }
.skoob-fbtn:hover .skoob-fbtn__i { color: var(--accent); transform: translateX(2px) scale(1.06); }
.skoob-fbtn__i svg { width: 19px; height: 19px; }

.skoob-footer__brand { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.skoob-footer__brand .skoob-mark { color: var(--ink); }
.skoob-footer__name { font-weight: 800; letter-spacing: -.02em; font-size: 31px; color: var(--ink); }
.skoob-footer__tag { font-family: 'Times New Roman', Times, Georgia, serif; font-style: italic; font-weight: 700; font-size: 21px; letter-spacing: .01em; color: var(--muted); }

.skoob-footer__bar {
	max-width: var(--wrap); margin: 44px auto 0; padding: 24px 32px 0;
	border-top: 1px solid var(--line);
	display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.skoob-copy { margin: 0; font-size: 12.5px; color: var(--muted); text-align: center; }
.skoob-legal { margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; }
.skoob-legal__b { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; font-size: 11.5px; font-weight: 500; color: var(--muted); background: var(--surface); text-decoration: none; transition: color .15s ease, border-color .15s ease, background .15s ease, transform .15s ease, box-shadow .15s ease; }
.skoob-legal__b:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-tint); transform: translateY(-1px); box-shadow: 0 8px 16px -12px rgba(91,87,230,.5); }
.skoob-legal__b:hover svg { opacity: 1; }
.skoob-legal__b svg { flex: none; opacity: .8; }

/* Pulsante torna in cima (flottante, 30px dall'angolo basso-destra) */
.skoob-totop { position: fixed; right: 30px; bottom: 30px; z-index: 99997; width: 46px; height: 46px; border-radius: 50%; border: none; background: var(--pg-accent, var(--accent, #5b57e6)); color: #fff; box-shadow: 0 12px 28px -8px rgba(91,87,230,.55); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform .15s ease, opacity .2s ease; }
.skoob-totop[hidden] { display: none; }
.skoob-totop:hover { transform: translateY(-3px); }
.skoob-hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
@media (max-width: 560px) { .skoob-totop { right: 20px; bottom: 20px; } }

/* --- Modale FAQ --- */
body.skoob-faq-lock { overflow: hidden; }
.skoob-faq { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow-y: auto; background: rgba(18,20,42,.62); animation: skFaqFade .18s ease; }
.skoob-faq[hidden] { display: none; }
@keyframes skFaqFade { from { opacity: 0; } to { opacity: 1; } }
.skoob-faq__modal { position: relative; max-width: 760px; width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 38px clamp(20px,4vw,44px) 34px; box-shadow: 0 40px 90px -30px rgba(20,22,60,.55); animation: skFaqPop .22s cubic-bezier(.2,.9,.3,1.1); }
@keyframes skFaqPop { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.skoob-faq__close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border: none; background: transparent; color: var(--muted); border-radius: 10px; cursor: pointer; transition: background .15s ease, color .15s ease; }
.skoob-faq__close svg { width: 20px; height: 20px; }
.skoob-faq__close:hover { background: var(--bg); color: var(--ink); }
.skoob-faq__head { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; margin-bottom: 14px; }
.skoob-faq__head .skoob-mark { color: var(--accent); }
.skoob-faq__title { margin: 0; font-size: clamp(21px,3vw,27px); font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.skoob-faq__intro { margin: 0 auto 22px; max-width: 52em; text-align: center; font-size: 14px; line-height: 1.7; color: var(--muted); }
.skoob-faq__list { display: flex; flex-direction: column; gap: 10px; }
.skoob-faq__item { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); transition: border-color .15s ease; }
.skoob-faq__item.is-open { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.skoob-faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; background: none; border: 0; cursor: pointer; padding: 15px 18px; text-align: left; font-family: inherit; font-size: 15px; font-weight: 700; color: var(--ink); transition: background .15s ease; }
.skoob-faq__q:hover { background: var(--bg); }
.skoob-faq__plus { flex: none; width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 300; color: var(--accent); transition: transform .2s ease; line-height: 1; }
.skoob-faq__item.is-open .skoob-faq__plus { transform: rotate(45deg); }
.skoob-faq__a { padding: 0 18px 18px; font-size: 13.5px; line-height: 1.75; color: #454a60; }
.skoob-faq__a[hidden] { display: none; }
.skoob-faq__a ul { margin: 8px 0; padding-left: 20px; }
.skoob-faq__a li { margin: 3px 0; }
.skoob-faq__a strong { color: var(--ink); }
.skoob-faq__closing { margin: 22px auto 0; max-width: 52em; text-align: center; font-size: 13.5px; line-height: 1.7; color: var(--muted); padding-top: 18px; border-top: 1px solid var(--line); }
.skoob-removedata {
	display: inline-flex; align-items: center; gap: 8px;
	background: var(--surface); border: 1px solid var(--line);
	border-radius: 999px; padding: 8px 16px; font-size: 12.5px; color: var(--ink-2);
	cursor: pointer;
	transition: border-color .18s ease, color .18s ease, background .18s ease, transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .18s ease;
}
.skoob-removedata svg { width: 15px; height: 15px; color: var(--muted); transition: color .18s ease, transform .18s cubic-bezier(.2,.7,.3,1); }
/* Effetto come i pulsanti footer, ma in rosso/rosa (azione distruttiva) */
.skoob-removedata:hover {
	color: #c0392b; border-color: #e0526b; background: #fdeef0;
	transform: translateY(-2px);
	box-shadow: 0 12px 24px -12px rgba(224,82,107,.6);
}
.skoob-removedata:hover svg { color: #c0392b; transform: translateX(1px) scale(1.08); }
.skoob-removedata:active { transform: translateY(0); box-shadow: 0 6px 12px -10px rgba(224,82,107,.6); }
.skoob-removedata:focus-visible { outline: none; border-color: #e0526b; box-shadow: 0 0 0 3px rgba(224,82,107,.22); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) { .skoob-hero__in { gap: 40px; } }
@media (max-width: 860px) {
	.skoob-hero__in { grid-template-columns: 1fr; gap: 30px; }
	.skoob-hero__art { order: -1; max-width: 460px; margin: 0 auto; }
	.skoob-card { grid-template-columns: 1fr; }
	.skoob-card__form { order: 2; border-top: 1px solid var(--line); padding-top: 30px; margin-top: 6px; }
	.skoob-footer__in { grid-template-columns: 1fr; justify-items: center; }
	.skoob-footer__col--left, .skoob-footer__col--right { align-items: stretch; order: 2; }
	.skoob-footer__brand { order: 1; }
	.skoob-fbtn { min-width: min(340px, 82vw); justify-content: flex-start; }
}
/* Smartphone: l'infografica dell'hero si accavalla e crea confusione → nascosta (resta hero testo + form). */
@media (max-width: 767px) {
	.skoob-hero__art { display: none !important; }
	/* Bandiere lingua in colonna sotto il toggle, ma FUORI dal flusso: così non allungano
	   l'header e non lasciano un vuoto tra logo e inizio del testo. */
	.skoob-header { padding: 22px 0 8px; }
	.skoob-header__in { position: relative; align-items: center; }
	.pgn-theme-toggle { margin-left: auto; }
	.skoob-langs {
		position: absolute; top: calc(100% + 8px); right: 32px; z-index: 6;
		flex-direction: column; align-items: flex-end; gap: 8px;
	}
	/* Il testo dell'hero lascia spazio a destra per non finire sotto le bandiere. */
	.skoob-hero__text { padding-right: 46px; }
}
@media (max-width: 480px) {
	.skoob-wrap { padding: 0 20px; }
	.skoob-code__box { width: 44px; height: 56px; font-size: 23px; }
	.skoob-brand__name { font-size: 20px; }
}

/* ---------- LOADER (verifica codice → apertura funnel) ---------- */
.skoob-loader{
	position:fixed; inset:0; z-index:2000; display:flex; align-items:center; justify-content:center;
	background:radial-gradient(120% 120% at 50% 0%, rgba(255,255,255,.92), rgba(238,240,251,.92));
	-webkit-backdrop-filter:blur(7px); backdrop-filter:blur(7px);
	animation:skFade .25s ease;
}
.skoob-loader[hidden]{ display:none; }
.skoob-loader__card{ text-align:center; padding:0 24px; }
.skoob-loader__mark{ display:inline-flex; color:var(--accent); margin-bottom:22px; }
.skoob-loader__cells{ display:flex; gap:9px; justify-content:center; margin:0 0 26px; }
.skoob-loader__cells span{
	width:16px; height:24px; border-radius:6px; background:var(--accent-tint);
	animation:skCell 1.1s ease-in-out infinite;
}
.skoob-loader__cells span:nth-child(2){ animation-delay:.11s; }
.skoob-loader__cells span:nth-child(3){ animation-delay:.22s; }
.skoob-loader__cells span:nth-child(4){ animation-delay:.33s; }
.skoob-loader__cells span:nth-child(5){ animation-delay:.44s; }
@keyframes skCell{
	0%,100%{ background:var(--accent-tint); transform:translateY(0) scaleY(1); }
	40%{ background:var(--accent); transform:translateY(-7px) scaleY(1.08); box-shadow:0 8px 16px -6px rgba(91,87,230,.5); }
}
@keyframes skFade{ from{ opacity:0; } to{ opacity:1; } }
.skoob-loader__title{ margin:0 0 6px; font-weight:800; font-size:20px; letter-spacing:-.01em; color:var(--ink); }
.skoob-loader__sub{ margin:0; font-size:14px; color:var(--muted); }

/* ---------- PAGINE DI CONTENUTO (Privacy, Termini, ecc.) ---------- */
.skoob-doc { background: var(--page); min-height: 100vh; }
.skoob-doc__back {
	display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
	font-size: 14px; font-weight: 600; color: var(--ink-2);
	background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 9px 17px;
	transition: transform .15s ease, border-color .15s ease, color .15s ease;
}
.skoob-doc__back:hover { transform: translateY(-1px); color: var(--ink); border-color: var(--accent); }
.skoob-doc__back svg { color: var(--accent); }
.skoob-doc__main { padding: 22px 0 72px; }
.skoob-doc__article {
	max-width: 780px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line);
	border-radius: 20px; padding: clamp(28px, 4vw, 54px); box-shadow: 0 24px 50px -38px rgba(40,44,90,.35);
}
.skoob-doc__title { font-weight: 800; font-size: clamp(28px, 4vw, 40px); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 6px; }
.skoob-doc__date { margin: 0 0 28px; font-size: 13px; color: var(--muted); }
.skoob-doc__content { color: var(--ink-2); font-size: 15.5px; line-height: 1.75; }
.skoob-doc__content h2 { color: var(--ink); font-weight: 700; font-size: 21px; margin: 32px 0 10px; }
.skoob-doc__content h3 { color: var(--ink); font-weight: 700; font-size: 16px; margin: 22px 0 6px; }
.skoob-doc__content p { margin: 0 0 14px; }
.skoob-doc__content ul { margin: 12px 0; padding-left: 20px; }
.skoob-doc__content li { margin: 6px 0; }
.skoob-doc__content a { color: var(--accent); font-weight: 600; }
.skoob-doc__content strong { color: var(--ink); }

/* ---------- Pannello "Rimuovi i miei dati" ---------- */
.skoob-rd { width: 100%; display: flex; flex-direction: column; align-items: center; }

/* --- Modale "Rimuovi i miei dati" --- */
.skoob-rd__overlay { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(18,20,42,.62); animation: skRdFade .18s ease; }
.skoob-rd__overlay[hidden] { display: none; }
@keyframes skRdFade { from { opacity: 0; } to { opacity: 1; } }
.skoob-rd__modal { position: relative; max-width: 460px; width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px 26px 24px; text-align: left; box-shadow: 0 30px 70px -24px rgba(20,22,60,.5); animation: skRdPop .22s cubic-bezier(.2,.9,.3,1.15); }
@keyframes skRdPop { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
.skoob-rd__close { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border: none; background: transparent; color: var(--muted); border-radius: 9px; cursor: pointer; transition: background .15s ease, color .15s ease; }
.skoob-rd__close svg { width: 18px; height: 18px; }
.skoob-rd__close:hover { background: var(--bg); color: var(--ink); }
.skoob-rd__head { display: flex; align-items: center; gap: 11px; margin: 0 40px 15px 0; }
.skoob-rd__badge { flex: none; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 11px; background: rgba(192,57,43,.1); color: #c0392b; }
.skoob-rd__badge svg { width: 20px; height: 20px; }
.skoob-rd__title { margin: 0; font-size: 16.5px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.skoob-rd__intro { margin: 0 0 14px; font-size: 13px; color: var(--muted); line-height: 1.6; }
.skoob-rd__intro strong { color: var(--ink-2); }
.skoob-rd__form { display: flex; gap: 8px; flex-wrap: wrap; }
.skoob-rd__form input { flex: 1; min-width: 170px; border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 13px; font-size: 14px; font-family: inherit; background: var(--surface); color: var(--ink); }
.skoob-rd__form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(91,87,230,.2); }
.skoob-rd__form button { background: #c0392b; color: #fff; border: none; border-radius: 10px; padding: 11px 18px; font-size: 13.5px; font-weight: 700; cursor: pointer; font-family: inherit; transition: background .15s ease; }
.skoob-rd__form button:hover { background: #a93226; }
.skoob-rd__ok { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-size: 13.5px; color: #12793e; font-weight: 600; line-height: 1.5; }
.skoob-rd__ok svg { width: 20px; height: 20px; color: #2fa858; flex: none; margin-top: 1px; }
.skoob-rd__err { margin: 0 0 10px; color: #c0392b; font-weight: 600; font-size: 13px; }
body.skoob-rd-lock { overflow: hidden; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto; } }

/* ============ Barra amministratore (solo admin loggato, header home) ============ */
.pgn-adminnav { display: flex; align-items: center; gap: 4px; padding: 4px;
	background: var(--accent-tint); border: 1px solid var(--line); border-radius: 12px; }
.pgn-adminnav__item { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px;
	border-radius: 9px; text-decoration: none; color: var(--accent-700); font-weight: 700;
	font-size: 14.5px; white-space: nowrap; transition: background .15s ease, color .15s ease; }
.pgn-adminnav__item:hover { background: #fff; color: var(--accent-600);
	box-shadow: 0 4px 12px -6px var(--accent-ring); }
.pgn-adminnav__item svg { width: 17px; height: 17px; stroke: currentColor; fill: none;
	stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 900px) { .pgn-adminnav__item { padding: 9px 11px; } .pgn-adminnav__item span { display: none; } }
@media (max-width: 560px) { .pgn-adminnav { order: 3; width: 100%; justify-content: center; }
	.pgn-adminnav__item span { display: inline; } }

/* ============ Recupero link personale (trigger discreto + modale) ============ */
/* Trigger: piccolo, tenue, non invasivo — vive sotto il form/esito del codice. */
.skoob-recover { display: inline-flex; align-items: center; gap: 6px; margin: 14px auto 0;
	padding: 4px 2px; background: none; border: none; cursor: pointer; font-family: inherit;
	font-size: 12.5px; font-weight: 600; color: var(--muted); line-height: 1.4;
	transition: color .15s ease; }
.skoob-recover svg { width: 15px; height: 15px; opacity: .8; }
.skoob-recover:hover { color: var(--accent); }
.skoob-recover span { text-decoration: underline; text-decoration-color: var(--line-2);
	text-underline-offset: 3px; }
.skoob-recover:hover span { text-decoration-color: currentColor; }

.skoob-rl { width: 100%; }
.skoob-rl__overlay { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center;
	justify-content: center; padding: 20px; background: rgba(18,20,42,.62); animation: skRdFade .18s ease; }
.skoob-rl__overlay[hidden] { display: none; }
.skoob-rl__modal { position: relative; max-width: 460px; width: 100%; background: var(--surface);
	border: 1px solid var(--line); border-radius: 18px; padding: 26px 26px 24px; text-align: left;
	box-shadow: 0 30px 70px -24px rgba(20,22,60,.5); animation: skRdPop .22s cubic-bezier(.2,.9,.3,1.15); }
.skoob-rl__close { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px;
	display: inline-flex; align-items: center; justify-content: center; border: none;
	background: transparent; color: var(--muted); border-radius: 9px; cursor: pointer;
	transition: background .15s ease, color .15s ease; }
.skoob-rl__close svg { width: 18px; height: 18px; }
.skoob-rl__close:hover { background: var(--surface-2); color: var(--ink); }
.skoob-rl__head { display: flex; align-items: center; gap: 11px; margin: 0 40px 15px 0; }
.skoob-rl__badge { flex: none; width: 38px; height: 38px; display: inline-flex; align-items: center;
	justify-content: center; border-radius: 11px; background: var(--accent-tint); color: var(--accent); }
.skoob-rl__badge svg { width: 20px; height: 20px; }
.skoob-rl__title { margin: 0; font-size: 16.5px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.skoob-rl__intro { margin: 0 0 14px; font-size: 13px; color: var(--muted); line-height: 1.6; }
.skoob-rl__intro strong { color: var(--ink-2); }
.skoob-rl__form { display: flex; gap: 8px; flex-wrap: wrap; }
.skoob-rl__form input { flex: 1; min-width: 170px; border: 1.5px solid var(--line); border-radius: 10px;
	padding: 11px 13px; font-size: 14px; font-family: inherit; background: var(--surface); color: var(--ink); }
.skoob-rl__form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }
.skoob-rl__code { text-transform: uppercase; letter-spacing: .12em; font-weight: 700; max-width: 150px; }
.skoob-rl__code::placeholder { letter-spacing: normal; font-weight: 400; text-transform: none; }
.skoob-rl__form button { flex: none; background: var(--accent); color: #fff; border: none; border-radius: 10px;
	padding: 11px 18px; font-size: 13.5px; font-weight: 700; cursor: pointer; font-family: inherit;
	transition: background .15s ease; }
.skoob-rl__form button:hover { background: var(--accent-600); }
.skoob-rl__note { display: flex; align-items: center; gap: 7px; margin: 13px 0 0; font-size: 11.5px;
	color: var(--muted); line-height: 1.5; }
.skoob-rl__note svg { width: 14px; height: 14px; flex: none; opacity: .85; }
.skoob-rl__ok { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-size: 13.5px;
	color: #12793e; font-weight: 600; line-height: 1.55; }
.skoob-rl__ok svg { width: 20px; height: 20px; color: #2fa858; flex: none; margin-top: 1px; }
.skoob-rl__ok strong { color: inherit; }
.skoob-rl__err { margin: 0 0 10px; color: #c0392b; font-weight: 600; font-size: 13px; }
body.skoob-rl-lock { overflow: hidden; }

/* ============ Footer: pulsante come <button> + colonna destra in grassetto ============ */
.skoob-fbtn { font-family: inherit; cursor: pointer; text-align: left; }
.skoob-footer__col--right .skoob-fbtn { font-weight: 700; color: var(--ink); }

/* ============ Banda CTA "Sei un autore o un editore?" ============ */
.skoob-authors { padding: 6px 0 68px; }
.skoob-authors__in { background: var(--accent); color: #fff; border-radius: var(--r-lg);
	padding: clamp(28px,4vw,46px) clamp(24px,4vw,52px);
	display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.skoob-authors__text { flex: 1 1 320px; }
.skoob-authors .skoob-eyebrow { background: rgba(255,255,255,.16); color: #fff; }
.skoob-authors .skoob-eyebrow::before { background: #fff; }
.skoob-authors__title { margin: 12px 0 10px; font-size: clamp(23px,2.6vw,32px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.skoob-authors__lead { margin: 0; font-size: 15.5px; line-height: 1.6; color: rgba(255,255,255,.9); max-width: 46em; }
.skoob-authors__cta.skoob-btn--send { flex: none; width: auto; background: #fff; color: var(--accent);
	box-shadow: 0 14px 30px -14px rgba(0,0,0,.4); }
.skoob-authors__cta.skoob-btn--send:hover { background: #f1f0ff; color: var(--accent-600); box-shadow: 0 18px 36px -16px rgba(0,0,0,.5); }

/* ============ Modale "Parliamone" (form autori/editori) ============ */
.skoob-au__overlay { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center;
	padding: 14px; background: rgba(18,20,42,.66); animation: skRdFade .15s ease; }
.skoob-au__overlay[hidden] { display: none; }
.skoob-au__modal { position: relative; max-width: 680px; width: 100%; max-height: 94vh; overflow-y: auto;
	background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px 16px; text-align: left;
	box-shadow: 0 30px 70px -24px rgba(20,22,60,.5); animation: skRdPop .2s cubic-bezier(.2,.9,.3,1.15); }
.skoob-au__close { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center;
	border: none; background: transparent; color: var(--muted); border-radius: 8px; cursor: pointer; transition: background .15s ease, color .15s ease; }
.skoob-au__close svg { width: 17px; height: 17px; }
.skoob-au__close:hover { background: var(--surface-2); color: var(--ink); }
.skoob-au__head { display: flex; align-items: flex-start; gap: 11px; margin: 0 34px 11px 0; }
.skoob-au__badge { flex: none; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center;
	border-radius: 10px; background: var(--accent-tint); color: var(--accent); }
.skoob-au__badge svg { width: 19px; height: 19px; }
.skoob-au__title { margin: 0 0 2px; font-size: 16.5px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.skoob-au__sub { margin: 0; font-size: 11.5px; color: var(--muted); line-height: 1.45; }
.skoob-au__form { display: flex; flex-direction: column; gap: 8px; }
.skoob-au__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 12px; }
.skoob-au__field { display: flex; flex-direction: column; gap: 3px; }
.skoob-au__field > span { font-size: 11.5px; font-weight: 600; color: var(--ink-2); }
.skoob-au__field input, .skoob-au__field select {
	border: 1.5px solid var(--line); border-radius: 9px; padding: 8px 11px; font-family: inherit; font-size: 13.5px;
	background: var(--surface); color: var(--ink); width: 100%; }
.skoob-au__field input:focus, .skoob-au__field select:focus {
	outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }
.skoob-au__set { border: none; margin: 0; padding: 0; }
.skoob-au__set legend { padding: 0; margin: 0 0 6px; font-size: 11.5px; font-weight: 700; color: var(--ink); }
.skoob-au__opts { display: flex; flex-wrap: wrap; gap: 6px; }
.skoob-au__opt { position: relative; }
.skoob-au__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.skoob-au__opt span { display: inline-block; padding: 5px 11px; border: 1.5px solid var(--line); border-radius: 999px;
	font-size: 12.5px; color: var(--ink-2); cursor: pointer; transition: background .14s ease, border-color .14s ease, color .14s ease; }
.skoob-au__opt:hover span { border-color: var(--line-2); }
.skoob-au__opt:has(input:checked) span { background: var(--accent-tint); border-color: var(--accent); color: var(--accent); font-weight: 600; }
.skoob-au__opt input:focus-visible + span { box-shadow: 0 0 0 3px var(--accent-ring); }
.skoob-check { display: flex; align-items: flex-start; gap: 8px; font-size: 11.5px; color: var(--muted); line-height: 1.4; }
.skoob-check input { flex: none; margin-top: 1px; width: 15px; height: 15px; accent-color: var(--accent); }
.skoob-check a { color: var(--accent); }
.skoob-au__form .skoob-btn--send { width: 100%; margin-top: 3px; padding: 12px 22px; }
.skoob-au__ok { display: flex; align-items: flex-start; gap: 11px; margin: 0; font-size: 14px; color: #12793e; font-weight: 600; line-height: 1.55; }
.skoob-au__ok svg { width: 22px; height: 22px; color: #2fa858; flex: none; margin-top: 1px; }
.skoob-au__ok strong { color: inherit; }
.skoob-au__err { margin: 0 0 10px; color: #c0392b; font-weight: 600; font-size: 13px; }
body.skoob-au-lock { overflow: hidden; }
@media (max-width: 540px){ .skoob-au__grid { grid-template-columns: 1fr; } }
