/* plekbooking.com: legal pages (the home page has its own home.css, with the same font and colours) */
@font-face {
  font-family: "Nunito";
  src: url("/fonts/nunito.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --text: #1c1b1f;
  --muted: #5f5b66;
  --border: #e3e0e8;
  --accent: #6b2fc4;
  --accent-text: #ffffff;
  --mark: #fff3b0;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141218;
    --text: #e6e1e9;
    --muted: #b0aab8;
    --border: #36333d;
    --accent: #c9b5ff;
    --accent-text: #141218;
    --mark: #5c4f00;
  }
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-underline-offset: 0.15em;
}

a:focus-visible,
main:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: var(--accent-text);
  border-radius: 0.25rem;
  z-index: 1;
}

.skip-link:focus {
  top: 1rem;
}

.site-header,
.site-footer,
main {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.brand {
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--text);
  text-decoration: none;
}

.languages,
.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

[aria-current] {
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

main {
  padding-top: 1.5rem;
  padding-bottom: 3rem;
}

h1 {
  font-size: 2rem;
  line-height: 1.25;
  margin: 0 0 0.25rem;
}

h2 {
  font-size: 1.375rem;
  line-height: 1.3;
  margin: 2.25rem 0 0.5rem;
  scroll-margin-top: 1rem;
}

h3 {
  font-size: 1.125rem;
  margin: 1.5rem 0 0.25rem;
}

.updated {
  color: var(--muted);
  margin-top: 0;
}

.toc {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
}

.toc-title {
  font-size: 1rem;
  margin: 0 0 0.25rem;
}

.toc ol {
  margin: 0;
  padding-left: 1.25rem;
}

li + li {
  margin-top: 0.25rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.9375rem;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 0.5rem;
  border: 1px solid var(--border);
}

.table-scroll {
  overflow-x: auto;
}

mark.placeholder {
  background: var(--mark);
  color: inherit;
  padding: 0 0.2em;
}

.site-footer {
  padding-top: 1.5rem;
  padding-bottom: 2rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9375rem;
}

.home {
  padding-top: 4rem;
}
