/* NØNOS legal pages. Light only, no web fonts, no scripts. */

:root {
  --ink: #0a0b0d;
  --paper: #ffffff;
  --muted: #4a4f57;
  --rule: #e2e4e8;
  --soft: #f4f5f7;
  --link: #007c85;
  --accent: #66ffff;
  --sans: "Geist", "Geist Variable", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

.wrap {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Skip link */

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--paper);
  color: var(--link);
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--link);
}

.skip:focus {
  top: 0.5rem;
}

/* Links */

a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--rule);
}

.bar {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
}

.brand {
  color: var(--ink);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

/* The one cyan accent: a small square after the wordmark. */
.brand::after {
  content: "";
  display: inline-block;
  width: 0.45em;
  height: 0.45em;
  margin-left: 0.3em;
  background: var(--accent);
  vertical-align: baseline;
}

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

.nav li + li {
  margin-top: 0;
}

.nav .current {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

/* Text */

main {
  padding-bottom: 2rem;
}

h1,
h2,
h3 {
  line-height: 1.25;
  font-weight: 700;
}

h1 {
  font-size: 1.75rem;
  letter-spacing: -0.01em;
  margin: 2rem 0 0.5rem;
}

h2 {
  font-size: 1.25rem;
  margin: 2.5rem 0 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}

h3 {
  font-size: 1.0625rem;
  margin: 1.75rem 0 0.5rem;
}

h2,
h3 {
  scroll-margin-top: 1rem;
}

p,
ul,
ol,
dl {
  margin: 0 0 1rem;
}

ul,
ol {
  padding-left: 1.25rem;
}

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

.meta {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.lead {
  font-size: 1.0625rem;
}

code {
  font-family: var(--mono);
  font-size: 0.875em;
  background: var(--soft);
  padding: 0.1em 0.3em;
  border-radius: 3px;
  overflow-wrap: anywhere;
}

address {
  font-style: normal;
  margin: 0 0 1rem;
}

/* Contents box */

.toc {
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 0.75rem 1rem 0.25rem;
  margin: 0 0 2rem;
}

.toc h2 {
  font-size: 1rem;
  margin: 0 0 0.5rem;
  padding: 0;
  border: 0;
}

.toc ol {
  margin-bottom: 0.75rem;
}

.toc li + li {
  margin-top: 0.125rem;
}

/* Home page */

.home {
  padding-top: 3rem;
}

.wordmark {
  font-size: 2.5rem;
  letter-spacing: 0.08em;
  margin: 0 0 1rem;
}

.wordmark::after {
  content: "";
  display: inline-block;
  width: 0.35em;
  height: 0.35em;
  margin-left: 0.25em;
  background: var(--accent);
  vertical-align: baseline;
}

.links {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
  border-top: 1px solid var(--rule);
}

.links li {
  margin: 0;
  border-bottom: 1px solid var(--rule);
}

.links a {
  display: block;
  padding: 0.75rem 0;
  font-weight: 600;
}

/* Footer */

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

.site-footer p {
  margin: 0 0 0.5rem;
}

@media (min-width: 40rem) {
  body {
    font-size: 1.0625rem;
  }

  h1 {
    font-size: 2rem;
    margin-top: 2.5rem;
  }

  .wordmark {
    font-size: 3.25rem;
  }

  .home {
    padding-top: 5rem;
  }
}

@media print {
  .site-header .nav,
  .skip,
  .toc {
    display: none;
  }

  a {
    color: var(--ink);
  }

  h2 {
    break-after: avoid;
  }
}
