/* Pakety site (pakety.online): the shared base and the legal pages.
   Brand (owner, 2026-11-26): yellow #FFD403 with the black box "P";
   text and marks on yellow are black, never white. Font: Cairo, the
   apps' own (packages/ui_kit), served from this site, no third party. */

@font-face {
  font-family: "Cairo";
  src: url("fonts/Cairo-Variable.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --yellow: #FFD403;
  --yellow-deep: #F2C500;
  --yellow-soft: #FFF7CC;
  --ink: #0B0B0C;
  --text: #17171B;
  --muted: #5E5E69;
  --line: #ECECEF;
  --bg: #FFFFFF;
  --bg-soft: #F7F7F4;
  --card: #FFFFFF;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(11, 11, 12, .04), 0 8px 24px rgba(11, 11, 12, .06);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg-soft);
  color: var(--text);
  font-family: "Cairo", "Segoe UI", Tahoma, "Geeza Pro", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-decoration-color: var(--yellow-deep); text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
img, svg { display: block; }

/* ---------- Site bar (every page) ---------- */
.sitebar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.sitebar-in {
  max-width: 1140px; margin: 0 auto; padding: 10px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
  font-weight: 800; font-size: 20px; letter-spacing: -.2px;
}
.mark {
  width: 38px; height: 38px; flex: none; border-radius: 11px;
  background: var(--yellow); display: grid; place-items: center;
}
/* In the white site bar the icon is black with the yellow mark (owner
   2026-12-04), like the large icon on the page. */
.sitebar .mark { background: var(--ink); }
.sitebar .mark path { stroke: var(--yellow); }
.mark svg { width: 24px; height: 24px; }
.mark path { stroke: var(--ink); }
.sitebar nav { display: flex; align-items: center; gap: 4px; }
.sitebar nav a {
  text-decoration: none; color: var(--text); font-weight: 600; font-size: 15px;
  padding: 8px 12px; border-radius: 999px;
}
.sitebar nav a:hover { background: var(--bg-soft); }
.sitebar nav a.cta { background: var(--ink); color: #fff; padding: 8px 18px; }
.sitebar nav a.cta:hover { background: #26262B; }
@media (max-width: 760px) { .sitebar nav a:not(.cta) { display: none; } }

/* ---------- Legal pages (privacy, terms, account deletion) ---------- */
.wrap { max-width: 780px; margin: 0 auto; padding: 0 18px 56px; }
header.top { display: flex; align-items: center; gap: 16px; padding: 34px 0 10px; }
.logo {
  width: 56px; height: 56px; flex: none; border-radius: 16px;
  background: var(--ink); display: grid; place-items: center;
}
.logo svg { width: 38px; height: 38px; }
/* The legal pages carry the mark in white from the old orange design;
   here it is yellow on the black icon. */
.logo path { stroke: var(--yellow); }
header.top h1 { margin: 0; font-size: 26px; line-height: 1.35; font-weight: 800; color: var(--ink); }
header.top p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
nav.lang { display: flex; gap: 8px; margin: 14px 0 20px; }
nav.lang a {
  text-decoration: none; padding: 6px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card); color: var(--text);
  font-size: 14px; font-weight: 700;
}
nav.lang a:hover { border-color: var(--ink); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; margin: 0 0 14px;
}
.card h2 { margin: 0 0 8px; font-size: 19px; line-height: 1.5; font-weight: 800; color: var(--ink); }
.card h3 { margin: 16px 0 4px; font-size: 16px; font-weight: 700; color: var(--ink); }
.card p { margin: 6px 0; }
.card ul { margin: 6px 0; padding-inline-start: 22px; }
.card li { margin: 4px 0; }
.card li::marker { color: var(--yellow-deep); }
.note {
  background: var(--yellow-soft); border-radius: 12px;
  padding: 10px 14px; margin: 10px 0 4px; font-weight: 600;
}
.meta { color: var(--muted); font-size: 14px; }
.ltr { direction: ltr; unicode-bidi: embed; }
section.lang-block { scroll-margin-top: 76px; }
.card[id] { scroll-margin-top: 76px; }
hr.split { border: 0; border-top: 1px solid var(--line); margin: 36px 0 26px; }
.wrap > footer { color: var(--muted); font-size: 13px; text-align: center; margin-top: 28px; }

/* ---------- Site footer (every page) ---------- */
.sitefoot { background: var(--ink); color: #D9D9DE; margin-top: 0; }
.sitefoot-in {
  max-width: 1140px; margin: 0 auto; padding: 48px 20px 28px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px;
}
.sitefoot .brand { color: #fff; }
.sitefoot p { margin: 12px 0 0; color: #A9A9B2; font-size: 15px; max-width: 34ch; }
.sitefoot h4 { margin: 4px 0 10px; color: #fff; font-size: 15px; font-weight: 800; }
.sitefoot ul { list-style: none; margin: 0; padding: 0; }
.sitefoot li { margin: 6px 0; }
.sitefoot a { color: #D9D9DE; text-decoration: none; font-size: 15px; }
.sitefoot a:hover { color: var(--yellow); }
.sitefoot-bottom {
  max-width: 1140px; margin: 0 auto; padding: 18px 20px 30px;
  border-top: 1px solid #222227; color: #8B8B95; font-size: 13px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
@media (max-width: 760px) {
  .sitefoot-in { grid-template-columns: 1fr 1fr; }
  .sitefoot-in > div:first-child { grid-column: 1 / -1; }
}
