/* Policy pages: the river's night, set for reading. Loaded after styles.css. */
.doc-page { min-height: 100vh; }
.doc-nav {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
  padding: 0 var(--gutter);
  background: rgba(7, 9, 15, 0.9);
  border-bottom: 1px solid var(--rule);
}
.doc-nav .wordmark { position: static; height: auto; }
.doc-nav .logo { height: 19px; }
.doc-nav .btn { height: 42px; padding: 0 1.2em; font-size: 15px; border-radius: 4px; }
.doc-band { position: relative; height: 30vh; min-height: 200px; overflow: hidden; }
.doc-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 28%; opacity: 0.6; }
.doc-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(11, 14, 23, 0.15), var(--night) 96%); }
.doc { position: relative; max-width: 70ch; margin: -9vh auto 0; padding: 0 20px 14vh; }
.doc h1 { font-size: clamp(32px, 4.2vw, 54px); font-weight: 700; line-height: 1.08; text-wrap: balance; }
.doc .version { margin-top: 14px; font-family: var(--mono); font-size: 13px; line-height: 1.4; letter-spacing: 0.03em; color: var(--ink-mute); }
.doc .intro { margin-top: 26px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; color: var(--ink); }
.doc h2 { margin-top: 52px; font-size: clamp(21px, 2vw, 27px); font-weight: 700; line-height: 1.22; color: var(--ink); }
.doc p, .doc li { font-size: 18px; line-height: 1.65; color: var(--ink-soft); }
.doc p { margin-top: 14px; }
.doc ul { margin: 14px 0 0; padding-left: 1.25em; }
.doc li + li { margin-top: 9px; }
.doc li::marker { color: var(--bulb); }
.doc strong { color: var(--ink); font-weight: 700; }
.doc a { color: var(--ink); text-decoration: underline; text-underline-offset: 0.22em; }
.doc a:hover { color: var(--bulb); }
.doc .cierre-doc { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--rule); font-size: 16px; color: var(--ink-mute); }
.doc-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding: 32px var(--gutter);
  border-top: 1px solid var(--rule);
  background: var(--night-deep);
  font-size: 15px;
  color: var(--ink-mute);
}
.doc-foot a { text-decoration: underline; text-underline-offset: 0.22em; }
.doc-foot a:hover { color: var(--bulb); }
@media (max-width: 760px) {
  .doc-nav { padding: 0 16px; }
  .doc { margin-top: -6vh; }
  .doc p, .doc li { font-size: 17px; }
  .doc-foot { padding: 28px 20px; }
}
