/* ZOKKU: the student and teacher offer of zokku dj (STUDENTI1117, 17 Nov 2026). Loaded after site.css by
   students.html only. Prefix st-. js/students.js writes <html data-st="on|off">: "off" until the offer starts
   (2 Dec 2026, 08:59 in Rome), when the page says only when it starts; "on" from then. With no script neither
   part shows: only .st-senza, which names no price and no date. */
html:not([data-st="on"]) .st-on{display:none}
html:not([data-st="off"]) .st-off{display:none}
html[data-st] .st-senza{display:none}
.s-testa p.st-senza a{text-decoration:underline;text-underline-offset:3px;color:var(--fg)}

/* the personal link of a checked student: the price and its Buy, first thing on the page */
.st-tuo,.st-rotto{margin-top:28px;max-width:60ch;padding:22px 24px 24px;border-radius:var(--r-m);background:var(--tile)}
.st-tuo[hidden],.st-rotto[hidden]{display:none}
.s-testa .st-tuo p,.s-testa .st-rotto p{margin-top:0;max-width:none}
.st-tuo .st-tuo-titolo{font-size:var(--s-head);line-height:1.1;letter-spacing:-.02em;font-weight:500;color:var(--fg);text-wrap:balance}
/* after a refusal the heading takes the focus so that it is read out; it is not a control, so no ring */
.st-tuo .st-tuo-titolo:focus{outline:none}
.s-testa .st-tuo .azioni{margin-top:18px}
.st-tuo-nota{margin-top:14px;display:grid;gap:8px}
.s-testa .st-tuo .st-tuo-nota p{font-size:var(--s-small);line-height:1.5}
.st-tuo-nota b{color:var(--fg);font-weight:500}
.s-testa .st-tuo .st-tuo-esito{margin-top:10px;font-size:var(--s-small);line-height:1.5;font-weight:500;color:var(--fg);min-height:1.5em}
.s-testa .st-tuo .st-tuo-esito:empty{min-height:0;margin-top:0}
.st-tuo-nota a,.st-tuo-esito a,.st-rotto a{text-decoration:underline;text-underline-offset:3px;color:var(--fg)}
.st-tuo .btn[aria-disabled="true"]{opacity:.6;cursor:progress}
/* a link that lost a piece: the one thing to read on the page */
.s-testa .st-rotto p{font-size:var(--s-body);line-height:1.45;color:var(--fg)}
/* with a code the page leaves out its opening lines: this visitor has already asked */
html[data-st-mio] .st-intro{display:none}

/* the three offers, on the blue field of zokku dj */
.st-banda{margin-top:0;padding-block:clamp(40px,5vw,72px)}
.st-offerte{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--gap)}
.st-carta{display:flex;flex-direction:column;padding:22px 24px 24px;border-radius:var(--r-m);background:color-mix(in srgb,var(--inchiostro) 7%,transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--inchiostro) 10%,transparent)}
.st-carta h2{font-size:var(--s-body);font-weight:500;max-width:none}
.st-cifra{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 14px;margin-top:18px}
.st-cifra b{font-size:clamp(48px,5vw,72px);line-height:1;font-weight:500;letter-spacing:-.02em}
.st-cifra span{font-size:var(--s-lead);font-weight:500}
.st-carta p.st-testo{margin-top:16px;font-size:16px;line-height:1.5;color:color-mix(in srgb,var(--inchiostro) 78%,transparent)}
.st-carta .azioni{margin-top:auto;padding-top:22px}
.st-banda .st-sotto{margin-top:22px;max-width:80ch;font-size:15px;line-height:1.45;color:color-mix(in srgb,var(--inchiostro) 78%,transparent)}
.st-banda .st-sotto + .st-sotto{margin-top:8px}
.st-banda .st-sotto a{color:var(--inchiostro);font-weight:500;text-decoration:underline;text-underline-offset:3px}
@media (max-width:900px){.st-offerte{grid-template-columns:1fr}}

/* how it works: the two-column text of the legal pages, with numbered steps.
   "How to ask" lands with the first heading right under the header (html has scroll-padding-top already). */
.st-come{padding-bottom:0;scroll-margin-top:-18px}
.legale .corpo ol.st-passi{display:grid;gap:12px;padding-left:34px;list-style:decimal}
.legale .corpo ol.st-passi li{padding-left:2px}
.legale .corpo ol.st-passi li::marker{font-family:var(--mono);font-weight:500;color:var(--fg)}
.legale .corpo a{color:var(--fg);text-decoration:underline;text-underline-offset:3px}

/* the closing field */
.st-fine{margin-top:0}
.st-fine h2{max-width:22ch}
.st-fine .st-posta{margin-top:8px;font-size:var(--s-lead);font-weight:500}
.st-fine .st-posta a{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:.24em;text-decoration-thickness:.07em}
.st-fine .azioni{margin-top:20px}
