/* Політика конфіденційності: ті самі токени, що й на головній (styles.css) */
:root {
  --black: #070707;
  --card: #141415;
  --line: rgba(255, 255, 255, 0.1);
  --white: #fbfbfb;
  --muted: #8b8b90;
  --orange: #ff4000;
  --orange-soft: #ff7a3d;
  --font-head: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--orange); color: var(--white); }
a { color: var(--white); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.35); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--orange); }
a:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 880px;
  margin: 0 auto;
  padding: 28px var(--gutter);
}
.back { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 15px; color: var(--muted); }
.back:hover { color: var(--white); }
.back svg { width: 22px; height: 24px; flex: none; }
.langs { display: flex; gap: 4px; font-size: 14px; }
.langs a { padding: 6px 10px; border-radius: 999px; text-decoration: none; color: var(--muted); }
.langs a:hover { color: var(--white); }
.langs a[aria-current="page"] { background: var(--white); color: var(--black); }

.doc { max-width: 880px; margin: 0 auto; padding: 24px var(--gutter) 96px; }
.doc h1 {
  margin: 0 0 16px;
  font-family: var(--font-head);
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}
.updated { margin: 0 0 48px; color: var(--muted); font-size: 15px; }
.doc h2 {
  margin: 56px 0 16px;
  font-family: var(--font-head);
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.doc p, .doc ul { max-width: 68ch; margin: 0 0 16px; color: #d4d4d8; }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: 8px; }
.doc li::marker { color: var(--orange); }
.doc strong { color: var(--white); font-weight: 600; }

/* Короткий виклад на початку: найважливіше одним поглядом */
.summary {
  margin: 0 0 16px;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--card);
}
.summary p:last-child { margin-bottom: 0; }

/* Таблиця «Información básica» (іспанська версія) та перелік отримувачів */
.table { width: 100%; margin: 0 0 16px; border-collapse: collapse; font-size: 15px; }
.table th, .table td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table th { width: 30%; color: var(--white); font-weight: 600; }
.table td { color: #d4d4d8; }

/* Дані, які власник сайту має вписати до публікації */
.fill { padding: 1px 6px; border-radius: 6px; background: rgba(255, 64, 0, 0.16); color: var(--orange-soft); font-style: normal; }

.foot { max-width: 880px; margin: 0 auto; padding: 24px var(--gutter) 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

@media (max-width: 600px) {
  .table th, .table td { display: block; width: 100%; padding-right: 0; }
  .table th { padding-bottom: 4px; border-bottom: 0; }
}
