/* Divo Gaeta — legal pages (privacy, cookie…)
   A quiet reading page in the brand palette: Desertic Night ground, Ancient Sand text. */

:root {
  --night: #3D3530;
  --night-deep: #221C19;
  --sand: #E8D5B0;
  --sand-bright: #F3E6CC;
  --dirt: #C4956A;
  --sunset: #D4956A;
  --stone: #B5A99A;
  --rule: rgba(196, 149, 106, 0.35);

  --f-display: "Cormorant Garamond", "Cormorant", "Garamond", "Times New Roman", serif;
  --f-label: "Marcellus", "Cormorant Garamond", Georgia, serif;

  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 90% 50% at 50% 0%, rgba(160, 79, 71, 0.22), transparent 70%),
    var(--night-deep);
  color: var(--sand);
  font-family: var(--f-display);
  font-size: 1.15rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  display: flex; flex-direction: column;
}

.bar {
  padding-block: 28px 0;
  max-width: 720px; width: 100%; margin: 0 auto;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 24px;
}
.lang {
  display: flex; gap: 0.8em; align-items: baseline;
  font-family: var(--f-label);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dirt);
}
.lang a { color: var(--stone); text-decoration: none; transition: color .3s ease; }
.lang a:hover, .lang a:focus-visible { color: var(--sand-bright); }
.back {
  font-family: var(--f-label);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--stone);
  text-decoration: none;
  transition: color .3s ease;
}
.back:hover, .back:focus-visible { color: var(--sand-bright); }
.back:focus-visible { outline: 1px solid var(--dirt); outline-offset: 6px; }

.doc {
  flex: 1;
  max-width: 720px; width: 100%; margin: 0 auto;
  padding-block: clamp(48px, 10vh, 110px) 64px;
}
.eyebrow {
  margin: 0 0 14px;
  font-family: var(--f-label);
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--dirt);
}
h1 {
  margin: 0;
  font-weight: 300;
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  letter-spacing: 0.04em;
  line-height: 1.05;
  color: var(--sand-bright);
  text-wrap: balance;
}
.updated {
  margin: 18px 0 0;
  font-style: italic;
  color: var(--stone);
}

section {
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--rule);
}
h2 {
  margin: 0 0 10px;
  font-family: var(--f-label);
  font-weight: 400;
  font-size: 0.82rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sand);
}
section p { margin: 0; max-width: 62ch; }
section p + p, section p + ul, section ul + p { margin-top: 12px; }
section ul { margin: 0; padding-left: 1.1em; max-width: 62ch; display: flex; flex-direction: column; gap: 10px; }
section li::marker { color: var(--dirt); }
section a { color: var(--sand); text-underline-offset: 3px; text-decoration-color: var(--dirt); }
section a:hover, section a:focus-visible { color: var(--sand-bright); }

dl.id {
  margin: 16px 0 0;
  display: grid; grid-template-columns: max-content minmax(0, 1fr);
  gap: 6px 22px;
}
dl.id dt {
  font-family: var(--f-label);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--stone);
  padding-top: 0.35em;
}
dl.id dd { margin: 0; color: var(--sand-bright); overflow-wrap: anywhere; }

article + article {
  margin-top: 96px;
  padding-top: 56px;
  border-top: 1px solid var(--dirt);
}
article { scroll-margin-top: 24px; }
strong { font-weight: 400; color: var(--sand-bright); }


.foot {
  max-width: 720px; width: 100%; margin: 0 auto;
  padding-block: 24px 32px;
  border-top: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; gap: 6px 18px;
  font-family: var(--f-label);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--stone);
}

@media (prefers-reduced-motion: reduce) {
  .back { transition: none; }
}
