/* Pagine legali di Lunora (condizioni, privacy): stesso tema del sito, testo lungo leggibile */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 300; font-display: swap; src: url("/fonts/montserrat-latin-300-normal.woff2") format("woff2"); }
@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"); }
:root {
  --sfondo: #f1ece2; --carta: #fffdf9; --inchiostro: #16130f; --tenue: #5a5246; --filetto: #ddd3c1;
  --oro: #c9a962; --oro-testo: #7a5c1f; --notte: #16130f; --su-notte: #efe8da;
  --display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --testo: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body { background: var(--sfondo); color: var(--inchiostro); font-family: var(--testo); font-weight: 300; font-size: 16.5px; line-height: 1.75; }
b, strong { font-weight: 500; }
a { color: var(--oro-testo); text-underline-offset: 3px; }
a:hover { color: var(--inchiostro); }
:focus-visible { outline: 2px solid var(--oro); outline-offset: 3px; }
.contenitore { max-width: 1140px; margin-inline: auto; padding-inline: 22px; }

.barra { position: sticky; top: 0; z-index: 20; background: var(--notte); color: var(--su-notte); }
.barra .contenitore { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 62px; }
.marchio { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 1.85rem; font-weight: 500; text-decoration: none; letter-spacing: 0.06em; line-height: 1; color: var(--su-notte); }
.marchio:hover { color: var(--su-notte); }
.marchio .o { color: var(--oro); }
.marchio svg { width: 36px; height: 36px; flex: none; }
.torna { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--oro); border-radius: 999px; color: var(--oro); text-decoration: none; font-size: 0.86rem; letter-spacing: 0.04em; white-space: nowrap; }
.torna:hover { background: var(--oro); color: var(--notte); }

.legale { max-width: 780px; margin-inline: auto; padding: 56px 22px 72px; }
.occhiello { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--oro-testo); }
h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.4rem, 6vw, 3.4rem); line-height: 1.05; margin: 10px 0 12px; }
h2 { font-family: var(--display); font-weight: 500; font-size: 1.75rem; line-height: 1.15; margin: 48px 0 10px; scroll-margin-top: 80px; }
h3 { font-size: 1rem; font-weight: 500; margin: 26px 0 6px; }
.data { color: var(--tenue); font-size: 0.92rem; margin: 0; }
.riassunto { background: var(--carta); border: 1px solid var(--filetto); border-radius: 18px; padding: 20px 24px; margin: 28px 0 8px; }
.riassunto p { margin: 0 0 8px; } .riassunto p:last-child { margin: 0; }
.indice { background: var(--carta); border: 1px solid var(--filetto); border-radius: 18px; padding: 18px 24px; margin: 24px 0 0; }
.indice ol { margin: 6px 0 0; padding-left: 1.3em; columns: 2 260px; column-gap: 32px; }
.indice li { break-inside: avoid; padding: 2px 0; }
.indice a { color: var(--inchiostro); text-decoration: none; }
.indice a:hover { color: var(--oro-testo); text-decoration: underline; }
p, li { max-width: 68ch; }
ul, ol { padding-left: 1.3em; }
li + li { margin-top: 4px; }
.tabella { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 0.94rem; background: var(--carta); border-radius: 14px; overflow: hidden; }
.tabella th, .tabella td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--filetto); }
.tabella th { font-weight: 500; background: #ebe4d6; }
.tabella tr:last-child td { border-bottom: 0; }
.scorri { overflow-x: auto; }

.piede { border-top: 1px solid var(--filetto); }
.piede .contenitore { padding-block: 26px; font-size: 0.82rem; color: var(--tenue); display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.piede a { color: var(--tenue); }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .marchio { font-size: 1.6rem; } .marchio svg { width: 30px; height: 30px; }
  .legale { padding-top: 36px; }
  h2 { font-size: 1.55rem; margin-top: 40px; }
  .tabella th, .tabella td { padding: 9px 10px; }
}
@media print {
  .barra, .torna, .indice { display: none; }
  body { background: #fff; }
}
