/* =========================================================================
   Podmínky ochrany osobních údajů — standalone readable page.
   Same visual language as the app: leather bar, wood ground, paper card.
   ========================================================================= */

:root{
  --bar-h: 72px;
  --ink: #1c1f24;
  --ink-soft: #4a515c;
  --rule: #d9d4cc;
  --link: #2f63ab;
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.62;
  color: var(--ink);
  background-color: #4a2c17;
  background-image:
    repeating-linear-gradient(180deg, rgba(0,0,0,.34) 0 2px, rgba(255,255,255,.05) 2px 4px, transparent 4px 150px),
    repeating-linear-gradient(180deg, rgba(255,255,255,.05) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(90deg,
      rgba(0,0,0,.07) 0px, rgba(255,255,255,.03) 55px,
      rgba(0,0,0,.05) 110px, rgba(255,255,255,.02) 175px, rgba(0,0,0,.07) 230px),
    linear-gradient(180deg, #5d3a1f, #3f2712);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

/* ------------------------------ leather bar ---------------------------- */

.bar{
  position: sticky; top: 0; z-index: 20;
  height: var(--bar-h);
  background-color: #232326;
  background-image:
    radial-gradient(circle at 30% 35%, rgba(255,255,255,.05) 0 1px, transparent 1px),
    radial-gradient(circle at 72% 68%, rgba(0,0,0,.30)  0 1px, transparent 1px),
    repeating-linear-gradient(38deg, rgba(255,255,255,.03) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(-38deg, rgba(0,0,0,.16) 0 1px, transparent 1px 6px),
    linear-gradient(180deg, #3c3c40, #1a1a1d);
  background-size: 5px 5px, 7px 7px, auto, auto, auto;
  box-shadow: 0 12px 24px rgba(0,0,0,.35);
}
.bar::after{
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px; height: 6px;
  background: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,0));
  pointer-events: none;
}

.bar__inner{
  max-width: 860px; height: 100%; margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  align-items: center;
  gap: 12px;
}

.bar__back{
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; min-width: 88px;
  padding: 0 16px 0 22px;
  color: #fff; font-weight: 900; font-size: .95rem;
  text-decoration: none;
  clip-path: polygon(0% 50%, 12px 0%, 100% 0%, 100% 100%, 12px 100%);
  background-color: #4d4f56;
  background-image: linear-gradient(180deg,
    rgba(255,255,255,.34) 0%, rgba(255,255,255,.08) 48%,
    rgba(0,0,0,.20)      52%, rgba(0,0,0,.34)     100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 2px 4px rgba(0,0,0,.55);
  text-shadow: 0 -1px 1px rgba(0,0,0,.45), 0 1px 1px rgba(255,255,255,.35);
}
.bar__back:active{ background-color: #3a3c42; transform: translateY(1px); }

.bar__title{
  margin: 0; justify-self: center;
  font-size: clamp(.9rem, 2.4vw, 1.15rem);
  font-weight: 900; letter-spacing: .3px;
  color: #fff;
  text-align: center;
  text-shadow: 0 -2px 1px rgba(0,0,0,.55), 0 2px 1px rgba(255,255,255,.4);
}

.bar__spacer{ display: block; width: 88px; }

@media (max-width: 620px){
  .bar__spacer{ display: none; }
  .bar__inner{ grid-template-columns: max-content minmax(0, 1fr); }
}

/* -------------------------------- paper -------------------------------- */

.doc{
  max-width: 860px;
  margin: 0 auto;
  padding: 28px 16px 64px;
}

.paper{
  background: #fdfbf7;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.5);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    0 6px 20px rgba(0,0,0,.5);
  padding: clamp(22px, 4vw, 46px);
}

.paper__lead{
  margin: 0 0 30px;
  padding-bottom: 22px;
  border-bottom: 2px solid var(--rule);
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.paper section + section{ margin-top: 34px; }

.paper h2{
  margin: 0 0 12px;
  font-size: 1.02rem; font-weight: 800;
  letter-spacing: .4px; text-transform: uppercase;
  color: #33404f;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule);
}

.paper ol{
  margin: 0;
  padding-left: 1.5em;
}
.paper > section > ol > li{ margin-bottom: 10px; }
.paper > section > ol > li:last-child{ margin-bottom: 0; }

.paper ol.alpha{
  list-style-type: lower-alpha;
  margin: 8px 0 4px;
}
.paper ol.alpha li{ margin-bottom: 4px; }

.paper a{ color: var(--link); }
.paper a:hover{ text-decoration: none; }

.paper strong{ font-weight: 700; }

@media print{
  body{ background: #fff; }
  .bar{ display: none; }
  .doc{ padding: 0; max-width: none; }
  .paper{ border: none; box-shadow: none; border-radius: 0; padding: 0; }
}
