/* Bulíky — plain reading pages: terms, privacy, contact. Tokens and fonts come from styles.css. */

.doc-body {
  background: var(--grass);
}

.doc-head,
.doc,
.doc-foot {
  width: min(100% - 2rem, 44rem);
  margin-inline: auto;
}

.doc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0 1rem;
}

.doc-logo {
  color: var(--card);
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  text-decoration: none;
  text-shadow: 0 2px 0 var(--outline);
}

.doc-back {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.25rem 1rem 0.15rem;
  border: var(--border);
  border-radius: 999px;
  background: var(--card);
  color: var(--outline);
  font-family: var(--font-display);
  font-size: 1rem;
  text-decoration: none;
  box-shadow: var(--drop);
}

.doc {
  padding: 1.4rem clamp(1.1rem, 4vw, 2.2rem) 1.8rem;
  border: var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--drop);
  font-weight: 500;
  line-height: 1.6;
}

.doc h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 6vw, 2.6rem);
  line-height: 1.1;
}

.doc h2 {
  margin: 1.8rem 0 0.4rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1.2;
}

.doc p,
.doc ul {
  margin: 0.5rem 0 0;
  max-width: 68ch;
}

.doc ul {
  padding-left: 1.2rem;
}

.doc li + li {
  margin-top: 0.35rem;
}

.doc-lead {
  color: var(--ink-soft);
  font-size: 1.1rem;
  font-weight: 600;
}

.doc-valid {
  margin-top: 2rem !important;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.doc-foot {
  padding: 1.6rem 0 2.5rem;
  color: var(--cream);
  font-size: 0.9rem;
  text-align: center;
}

.doc-foot nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.2rem 1.2rem;
}

.doc-foot a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--cream);
  font-weight: 700;
}

.doc-foot p {
  margin: 0.4rem 0 0;
  opacity: 0.8;
}
