/* Әдеп: Adep · privacy policy pages. Felt palette from src/styles/tokens.css.
   No web fonts and no external requests: system fonts cover ә ғ қ ң ө ұ ү һ і. */
:root {
  --night: #161931;
  --felt: #ede4d3;
  --felt-light: #f6ecd8;
  --ink: #2b2234;
  --muted: #5b4f5f;
  --kamzol: #5a1628;
  --red: #b8432f;
  --link: #8a2b1c;
  --gold: #f2b640;
  --stitch: #b0896a;
  --on-night: #ede4d3;
  --on-night-muted: #c9bfae;
  --radius: 14px;
  color-scheme: light;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  padding: 20px 16px 40px;
  background: var(--night);
  color: var(--ink);
  font: 17px/1.55 "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  overflow-wrap: break-word;
}

.sheet {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  padding: 34px 22px 30px;
  background: var(--felt);
  border-radius: var(--radius);
  outline: 1.5px dashed var(--stitch);
  outline-offset: -9px;
  box-shadow: inset 0 0 14px rgba(43, 34, 52, 0.18);
}

/* Red felt band with a gold stitch along the top edge of the sheet */
.sheet::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 12px;
  border-radius: var(--radius) var(--radius) 0 0;
  background:
    repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 10px) 0 5px / 100% 1.5px no-repeat,
    var(--red);
}

h1, h2, .app {
  font-family: "Noto Serif", Georgia, "Times New Roman", serif;
  color: var(--kamzol);
  line-height: 1.25;
}

.app {
  margin: 8px 0 2px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

h1 {
  margin: 0 0 6px;
  /* «конфиденциальности» must fit on one line at 360 px */
  font-size: clamp(1.35rem, 6vw, 1.75rem);
  hyphens: auto;
}

h2 {
  margin: 28px 0 8px;
  font-size: 1.2rem;
}

p, ul { margin: 0 0 12px; }
ul { padding-left: 1.25em; }
li { margin: 0 0 6px; }

.date {
  color: var(--muted);
  font-size: 0.95rem;
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:focus-visible {
  outline: 2px solid var(--kamzol);
  outline-offset: 2px;
  border-radius: 4px;
}

.langs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.langs a,
.langs [aria-current] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.langs a {
  color: var(--link);
  border: 1.5px dashed var(--stitch);
}

.langs [aria-current] {
  color: var(--felt-light);
  background: var(--kamzol);
}

.summary {
  margin: 20px 0 8px;
  padding: 14px 16px 4px;
  background: var(--felt-light);
  border-left: 5px solid var(--gold);
  border-radius: 8px;
}

.summary h2 { margin-top: 0; }

.contact {
  font-weight: 700;
}

footer {
  margin-top: 28px;
  padding-top: 14px;
  border-top: 1.5px dashed var(--stitch);
  color: var(--muted);
  font-size: 0.95rem;
}

/* Language picker (web/privacy/index.html) */
.choices {
  display: grid;
  gap: 12px;
  margin: 18px 0 8px;
  padding: 0;
  list-style: none;
}

.choices a {
  display: block;
  min-height: 48px;
  padding: 14px 16px;
  background: var(--felt-light);
  border: 1.5px dashed var(--stitch);
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
}

.choices strong {
  display: block;
  color: var(--kamzol);
  font-family: "Noto Serif", Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
}

.choices span {
  color: var(--muted);
  font-size: 0.95rem;
}

.choices a:hover strong,
.choices a:focus-visible strong {
  text-decoration: underline;
}

@media (min-width: 600px) {
  body { padding-top: 40px; }
  .sheet { padding: 40px 40px 34px; }
}

@media print {
  body { background: #fff; padding: 0; }
  .sheet { outline: none; box-shadow: none; }
  .langs { display: none; }
}
