/* PracoPost public pages (home, privacy, terms). Plain files on purpose: the app serves them
   under /legal/ without sign-in, and the same folder (with /fonts/ds/) can be copied as-is to the
   public host whose links go into the Google and Meta consoles. Values mirror the iPracticom DS
   tokens in apps/frontend/src/app/colors.scss; the DS is light-only. */
@font-face {
  font-family: 'Ploni';
  src: url('../fonts/ds/ploni-regular-aaa.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Ploni';
  src: url('../fonts/ds/ploni-demibold-aaa.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}

:root {
  --charcoal: #181d24;
  --ink: #5a6168;
  --silver: #e1e6ec;
  --whisper: #f2f5f8;
  --white: #ffffff;
  --accent: #0075db;
  --cobalt: #004e9b;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--whisper);
  color: var(--charcoal);
  font-family: 'Ploni', 'Assistant', 'Heebo', 'Arial Hebrew', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

.skip {
  position: absolute;
  inset-inline-start: 16px;
  top: -48px;
  background: var(--white);
  padding: 8px 12px;
  border-radius: 8px;
}
.skip:focus {
  top: 12px;
}

header {
  background: linear-gradient(45deg, var(--cobalt), var(--accent));
  color: var(--white);
}
.bar {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
}
.brand {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 22px;
}
.brand small {
  font-weight: 400;
  font-size: 15px;
  opacity: 0.9;
  margin-inline-start: 8px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}
nav a {
  color: var(--white);
  font-size: 15px;
}
nav a[aria-current='page'] {
  font-weight: 600;
  text-decoration: none;
}

main {
  max-width: 800px;
  margin: 24px auto;
  padding: 32px 24px;
  background: var(--white);
  border: 1px solid var(--silver);
  border-radius: 16px;
}
@media (max-width: 832px) {
  main {
    margin: 16px;
    padding: 24px 16px;
  }
}

h1 {
  font-size: 30px;
  line-height: 1.25;
  margin: 0 0 8px;
}
h2 {
  font-size: 21px;
  line-height: 1.35;
  margin: 32px 0 8px;
}
p,
ul,
ol {
  margin: 0 0 12px;
}
ul,
ol {
  padding-inline-start: 24px;
}
li {
  margin-bottom: 6px;
}
a {
  color: var(--accent);
}
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
.updated,
.lead {
  color: var(--ink);
}
.lead {
  font-size: 19px;
}
blockquote {
  margin: 12px 0;
  padding: 12px 16px;
  background: var(--whisper);
  border-inline-start: 4px solid var(--accent);
  border-radius: 8px;
}
blockquote[dir='ltr'] {
  border-inline-start: none;
  border-left: 4px solid var(--accent);
  text-align: left;
}

footer {
  max-width: 800px;
  margin: 0 auto 32px;
  padding: 0 16px;
  color: var(--ink);
  font-size: 15px;
}
