/* pagine legali di kourt.it: stessi colori e caratteri della landing, impaginazione da lettura */
:root {
    --slate: #0E1B27; --slate-800: #16283A; --aqua: #17958C; --aqua-600: #12776F; --mist: #BFE3DE;
    --paper: #F6F8F9; --ink: #101A22; --ink-soft: #3A4A55; --muted: #647279; --line: #E1E7EA;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Figtree, system-ui, sans-serif; color: var(--ink); background: var(--paper); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--aqua-600); text-underline-offset: 2px; }
h1, h2, h3 { font-family: "Bricolage Grotesque", Figtree, sans-serif; letter-spacing: -0.02em; line-height: 1.12; margin: 0; text-wrap: balance; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }

.top { background: var(--slate); color: #fff; }
.top .bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; }
.top .bar a.home { display: inline-flex; }
.top .bar a.back { color: rgba(255,255,255,.85); font-weight: 700; font-size: 15px; text-decoration: none; padding: 9px 16px; border-radius: 11px; border: 1.5px solid rgba(255,255,255,.3); white-space: nowrap; }
.top .bar a.back:hover { border-color: #fff; color: #fff; }
.top .head { padding-block: 40px 56px; max-width: 820px; }
.top .kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mist); margin: 0 0 12px; }
.top h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; }
.top .intro { color: rgba(255,255,255,.82); font-size: clamp(17px, 1.6vw, 19px); margin: 18px 0 0; max-width: 680px; text-wrap: pretty; }
.top .updated { color: rgba(255,255,255,.55); font-size: 14px; margin: 18px 0 0; }

.doc { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; padding-block: 56px 96px; align-items: start; }
.toc { position: sticky; top: 24px; font-size: 14.5px; }
.toc p { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.toc a { display: block; padding: 6px 10px; border-radius: 8px; color: var(--ink-soft); text-decoration: none; line-height: 1.35; }
.toc a:hover { background: #fff; color: var(--ink); }
.toc .other { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }

article { max-width: 760px; min-width: 0; }
article section { padding-top: 8px; margin-bottom: 40px; scroll-margin-top: 16px; }
article h2 { font-size: clamp(23px, 2.4vw, 28px); font-weight: 800; margin-bottom: 14px; }
article h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; margin: 22px 0 8px; }
article p, article li { color: var(--ink-soft); text-wrap: pretty; }
article p { margin: 0 0 14px; }
article ul, article ol { margin: 0 0 16px; padding-left: 22px; }
article li { margin-bottom: 6px; }
article strong { color: var(--ink); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; margin: 0 0 18px; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 18px; margin: 0; }
.card dt { font-weight: 700; color: var(--ink); }
.card dd { margin: 0; color: var(--ink-soft); overflow-wrap: anywhere; }
.table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 15.5px; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.table th, .table td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.table th { font-size: 13px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); background: #FBFCFC; }
.table tr:last-child td { border-bottom: 0; }
.table td { color: var(--ink-soft); }
.table td:first-child { color: var(--ink); font-weight: 600; }
.note { font-size: 15px; color: var(--muted); }

footer { background: var(--slate); color: rgba(255,255,255,.7); font-size: 14.5px; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; padding-block: 40px; }
footer a { color: inherit; }
footer .made { display: inline-flex; align-items: center; gap: 10px; color: rgba(255,255,255,.85); text-decoration: none; font-weight: 600; }
footer .made img { height: 15px; width: auto; }
footer .links { margin-left: auto; display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer .links a { text-decoration: none; }
footer .links a:hover, footer .links a[aria-current] { color: #fff; }
footer .legal { width: 100%; font-size: 13px; color: rgba(255,255,255,.5); border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; margin: 0; }
footer .legal a { text-decoration: none; }
footer .legal a:hover { color: #fff; }

@media (max-width: 960px) {
    .doc { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 36px 72px; }
    .toc { position: static; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 16px; }
    .toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    body { font-size: 16px; }
    .wrap { width: calc(100% - 32px); }
    .top .head { padding-block: 24px 40px; }
    .toc ol { grid-template-columns: minmax(0, 1fr); }
    .card { padding: 18px; }
    .card dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
    .card dd { margin-bottom: 8px; }
    .table thead { display: none; }
    .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
    .table tr { padding: 12px 16px; border-bottom: 1px solid var(--line); }
    .table td { padding: 2px 0; border: 0; }
    .table td[data-l]::before { content: attr(data-l) ": "; font-weight: 700; color: var(--muted); font-size: 13px; }
    footer .links { margin-left: 0; }
}
@media print {
    .top { background: none; color: var(--ink); }
    .top .intro, .top .updated, .top .kicker { color: var(--ink-soft); }
    .top .bar, .toc, footer .links, footer .made { display: none; }
    .doc { display: block; padding: 0; }
    footer { background: none; color: var(--ink); }
}
