/* privacy.html only — the legal page keeps the old stylesheet's tokens + its own block */
:root {
  /* Reveal speed. Native scrolling lands instantly, so the choreography is
     tightened to match; the inertial scroller (html.smooth, opt-in via ?smooth)
     glides for about a second after a flick and can afford the longer original
     timing. Paired with STAGGER and LEAD in main.js. */
  --reveal-dur: .62s;

  --ink:    #1f1f1f;
  --cream:  #eae8e6;
  --mint:   #dce5dc;
  --green:  #65b924;
  --lime:   #96c80c;
  --forest: #119f51;

  /* gradient angles taken verbatim from the Figma fills */
  --grad-card: linear-gradient(259.1013deg, #96c80c 0.21238%, #119f51 101.2%);
  --grad-oz:   linear-gradient(237.0233deg, #96c80c 0.21238%, #119f51 101.2%);
  --grad-opr:  linear-gradient(100.0867deg, #96c80c 2.0984%,  #119f51 91.44%);
  --grad-spr:  linear-gradient(98.8941deg,  #96c80c 2.0984%,  #119f51 91.44%);
  --grad-pill: linear-gradient(109.8944deg, #96c80c 2.0984%,  #119f51 91.44%);
  --grad-btn:  linear-gradient(120deg, #96c80c 2%, #119f51 92%);

  /* "area-normal" and "objektiv-mk1" are the Adobe Fonts kit's CSS family names
     (kit cdi5mll), not the desktop names — see the <link> in index.html. */
  --font: "area-normal", system-ui, sans-serif;
  --s: 1;                    /* canvas scale factor, set by JS */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.16, .84, .44, 1);
  /* the standard strong ease-out for entrances — decelerates hard into place,
     so a 300ms move reads faster than a 300ms built-in `ease-out` would */
  --ease-out-strong: cubic-bezier(.23, 1, .32, 1);
}

/* ---- Ukrainian: a second face, because the first one has no Cyrillic ----
   Area Normal is Latin-only — Adobe's own language list for it is 24 languages,
   every one Latin-script, and the font file has zero glyphs in U+0400–04FF. So
   on /uk/ the Cyrillic was falling through to whatever system-ui happened to be
   (SF Pro / Segoe UI / Roboto), which differs per device and is not the brand.

   Golos Text (Alexandra Korolkova) is added AFTER area-normal rather than
   replacing it, which makes the browser's per-glyph fallback do exactly the
   right thing: Latin runs — "G – Clearance", the address, "Microsoft Clarity" —
   keep the brand face, and only the Cyrillic picks up Golos.

   Golos over the closer-matching Objektiv Mk1 for one measured reason: Adobe
   serves Objektiv's Cyrillic only in its full character set, which also carries
   Arabic, Devanagari, Thai and Hebrew — 222 KB per weight, 1.52 MB across the
   seven weights this page uses. Golos is Latin+Cyrillic and nothing else: 28 KB
   per weight, 0.19 MB total, with MORE Cyrillic coverage (170 glyphs vs 104).
   Golos has no 100; the three places that ask for it resolve to its Regular. */
html[lang="uk"] {
  --font: "area-normal", "golos-text", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; } body { margin: 0; font-family: var(--font); color: var(--ink); } img { display:block; max-width:100%; } a { color: inherit; } button { font: inherit; cursor: pointer; }
.cookie-bar {
  position: fixed; left: 50%; bottom: 22px; z-index: 120;
  width: min(760px, calc(100vw - 32px));
  transform: translate(-50%, calc(100% + 40px));
  opacity: 0; pointer-events: none;
  transition: transform .45s var(--ease), opacity .45s ease;
}
.cookie-bar.is-open { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }

.cookie-bar__inner {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  padding: 18px 22px;
  background: #fff; border: 2px solid var(--ink); border-radius: 20px;
  box-shadow: 0 30px 70px -28px rgba(0, 0, 0, .55);
}
.cookie-bar__text {
  flex: 1 1 320px; min-width: 240px;
  font-weight: 500; font-size: 14px; line-height: 1.45; color: #3a3a36;
}
.cookie-bar__text a { color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.cookie-bar__en { display: block; margin-top: 4px; font-size: 12.5px; color: #8a8a84; }

.cookie-bar__actions { display: flex; gap: 10px; margin-left: auto; }
.cookie-btn {
  font-family: inherit; font-weight: 800; font-size: 14px; text-transform: uppercase;
  letter-spacing: .02em; padding: 0 22px; height: 46px; border-radius: 30px;
  cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s ease, background-color .2s ease;
}
.cookie-btn--solid { color: #fff; background: var(--grad-btn); }
.cookie-btn--solid:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -12px rgba(17, 159, 81, .6); }
.cookie-btn--ghost { color: var(--ink); background: transparent; border: 2px solid #d7d5d1; }
.cookie-btn--ghost:hover { background: #f2f1ec; }

@media (max-width: 560px) {
  .cookie-bar { bottom: max(12px, env(safe-area-inset-bottom, 0px)); width: calc(100vw - 24px); }
  .cookie-bar__inner { gap: 14px; padding: 16px 18px; border-radius: 18px; }
  .cookie-bar__text { flex-basis: 100%; min-width: 0; font-size: 14px; line-height: 1.4; }
  /* The Polish notice remains fully visible; the English translation is
     secondary and made the consent card cover most of a phone viewport. */
  .cookie-bar__en { display: none; }
  .cookie-bar__actions { width: 100%; margin-left: 0; gap: 8px; }
  .cookie-btn { flex: 1; height: 46px; padding: 0 10px; font-size: 13px; }
}

@media (max-width: 350px) {
  .cookie-bar__inner { padding: 14px 16px; }
  .cookie-bar__text { font-size: 13.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-bar { transition: opacity .2s ease; transform: translate(-50%, 0); }
  .cookie-bar:not(.is-open) { transform: translate(-50%, 0); }
}

/* ============================================================
   LEGAL PAGE (privacy.html)
   A plain, readable document — deliberately NOT on the scaled
   1920 canvas the landing page uses. It only borrows the fonts,
   the colour variables and the cookie bar from above.
   ============================================================ */
.legal-page { background: #f7f7f4; color: var(--ink); }

.legal-top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px clamp(20px, 5vw, 64px);
  background: rgba(247, 247, 244, .92);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid #e3e2dc;
}
.legal-back { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16px; text-transform: uppercase; letter-spacing: .02em; }
.legal-back__arrow { transition: transform .25s var(--ease); }
.legal-back:hover .legal-back__arrow { transform: translateX(-4px); }

.legal-lang { display: flex; gap: 6px; padding: 4px; background: #ecebe5; border-radius: 30px; }
.legal-lang__btn {
  padding: 8px 18px; border-radius: 30px; font-weight: 700; font-size: 14px;
  color: #6d6c66; transition: background-color .2s ease, color .2s ease;
}
.legal-lang__btn:hover { color: var(--ink); }
.legal-lang__btn.is-active { color: #fff; background: var(--grad-btn); }

.legal { max-width: 860px; margin: 0 auto; padding: clamp(36px, 6vw, 72px) clamp(20px, 5vw, 32px) 80px; }

.legal-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--green); }
.legal-eyebrow .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); }

.legal h1 { margin-top: 16px; font-weight: 800; font-size: clamp(32px, 6vw, 52px); line-height: 1.06; text-transform: uppercase; }
.legal-updated { margin-top: 12px; font-size: 14px; font-weight: 600; color: #8a8a84; }
.legal-lead { margin-top: 26px; font-size: clamp(17px, 2.2vw, 19px); line-height: 1.6; color: #3a3a36; }

.legal section { margin-top: 46px; }
.legal h2 {
  font-weight: 800; font-size: clamp(21px, 3vw, 26px); line-height: 1.2;
  padding-bottom: 12px; border-bottom: 2px solid #e3e2dc;
}
.legal h3 { margin-top: 26px; font-weight: 700; font-size: 17px; color: #2c2c29; }
.legal p { margin-top: 14px; font-size: 16px; line-height: 1.68; color: #46463f; }
.legal ul { margin: 14px 0 0 22px; }
.legal li { margin-top: 9px; font-size: 16px; line-height: 1.6; color: #46463f; }
.legal b { color: var(--ink); font-weight: 700; }
.legal a { color: var(--forest); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--green); }
.legal code { padding: 2px 6px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; background: #ecebe5; border-radius: 5px; }

.legal-box { margin-top: 16px; padding: 22px 24px; background: #fff; border: 2px solid #e3e2dc; border-radius: 16px; }
.legal-box p { margin-top: 4px; font-size: 15.5px; }
.legal-box p:first-child { margin-top: 0; }

/* the bracketed details that still need filling in before launch */
.legal-todo { padding: 1px 7px; font-weight: 600; color: #9a6b00; background: #fff4d6; border: 1px dashed #e0b64a; border-radius: 5px; }

.legal-table-scroll { margin-top: 18px; overflow-x: auto; border: 2px solid #e3e2dc; border-radius: 14px; background: #fff; }
.legal-table { width: 100%; min-width: 560px; border-collapse: collapse; }
.legal-table th, .legal-table td { padding: 14px 16px; text-align: left; vertical-align: top; font-size: 14.5px; line-height: 1.5; border-bottom: 1px solid #ebeae4; }
.legal-table th { font-weight: 800; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: #6d6c66; background: #f2f1ec; }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-table td { color: #46463f; }

.legal-btn {
  display: inline-block; height: 46px; padding: 0 24px; border-radius: 30px;
  font-family: inherit; font-weight: 800; font-size: 14px; text-transform: uppercase;
  letter-spacing: .02em; color: #fff; background: var(--grad-btn);
  transition: transform .2s var(--ease), box-shadow .2s ease;
}
.legal-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -12px rgba(17, 159, 81, .6); }
.legal-reset-msg { margin-left: 12px; font-size: 14px; font-weight: 600; color: var(--forest); }

.legal-foot {
  padding: 32px clamp(20px, 5vw, 64px) 120px;
  border-top: 1px solid #e3e2dc; text-align: center;
}
.legal-foot p { font-size: 13.5px; color: #8a8a84; }
.legal-foot p + p { margin-top: 8px; }
.legal-foot a { color: var(--forest); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 560px) {
  .legal-top { flex-wrap: wrap; }
  .legal-back__txt { font-size: 14px; }
  .legal-lang__btn { padding: 8px 14px; font-size: 13px; }
  .legal-reset-msg { display: block; margin: 10px 0 0; }
}


