/* Legal pages: static HTML with the site's header and footer look (task 25),
   values copied from @mobile/design tokens and apps/web/src/index.css. */
:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --bg-secondary: #f2f2f7;
  --fg: #000000;
  --muted: #6e6e73;
  --link: #8a5a00;
  --rule: rgba(60, 60, 67, 0.18);
  --gutter: 16px;
  --font:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Segoe UI", sans-serif;
  --font-numeric:
    ui-rounded, -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "Segoe UI",
    sans-serif;
}
@media (min-width: 600px) {
  :root {
    --gutter: 24px;
  }
}
@media (min-width: 960px) {
  :root {
    --gutter: 32px;
  }
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-secondary: #1c1c1e;
    --fg: #f2f2f7;
    --muted: #aeaeb2;
    --link: #f5c35b;
    --rule: rgba(84, 84, 88, 0.6);
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 18px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover {
  text-decoration-thickness: 2px;
}
:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 2px;
  border-radius: 6px;
}

.site-header__inner,
.site-footer__inner {
  max-width: calc(1120px + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fg);
  font: 600 18px/1.3 var(--font);
  text-decoration: none;
  white-space: nowrap;
}
.site-header__brand img {
  border-radius: 10px;
}
.site-header__nav {
  display: flex;
  gap: 20px;
}
.site-header__nav a,
.site-footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--fg);
  font: 400 16px/1.35 var(--font);
  text-decoration: none;
}
.site-header__nav a:hover,
.site-footer__links a:hover,
.site-footer__links a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em;
}
@media (max-width: 389px) {
  .site-header__nav {
    gap: 12px;
  }
}

main {
  max-width: calc(680px + 2 * var(--gutter));
  margin: 0 auto;
  padding: 48px var(--gutter) 64px;
}
h1 {
  font: 700 clamp(30px, 2vw + 22px, 44px) / 1.1 var(--font);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
h2 {
  font: 650 22px/1.25 var(--font);
  margin: 40px 0 8px;
}
/* The Polish section title: one h1 per page, the same look. */
h2.title {
  font: 700 clamp(30px, 2vw + 22px, 44px) / 1.1 var(--font);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
p,
li {
  margin: 0 0 12px;
}
.meta {
  color: var(--muted);
  font-size: 15px;
}
nav.lang {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  font-size: 15px;
}
hr {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 48px 0;
}

.site-footer {
  background: var(--bg-secondary);
}
.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 64px;
  padding-bottom: 48px;
}
.site-footer__name {
  margin: 0;
  font-family: var(--font-numeric);
  font-size: clamp(48px, 9vw, 128px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.site-footer__tagline {
  margin: 0 0 16px;
  font-size: 16px;
  color: var(--muted);
}
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer__links li {
  margin: 0;
}
.site-footer__small {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}
