/*
 * Copyright © 2026 Em Zakharov
 *
 * SPDX-License-Identifier: GPL-3.0-or-later
 */

body {
  font-family: ui-sans-serif, "Segoe UI Variable Text", "Segoe UI", Roboto, "Noto Sans", system-ui, sans-serif;
  font-weight: 450;
  -webkit-text-size-adjust: 100%; /* To prevent odd font size changes in landscape Safari on iOS */
  color: rgb(41, 37, 36);
}

h1, h2 {
  font-family: ui-sans-serif, "Segoe UI Variable Display", "Segoe UI", Roboto, "Noto Sans", system-ui, sans-serif;
}

main > h1 { font-size: 1.75rem; }

section { line-height: 1.5; }
section h2 { font-size: 1.375rem; }

code {
  font-family: ui-monospace, "Cascadia Mono", Consolas, "Roboto Mono", "Noto Sans Mono", Menlo, monospace;
}

a:any-link {
  display: inline-block;
  color: inherit;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-thickness: 2px;
  text-decoration-color: #F55656;
  text-decoration-skip-ink: none;
  text-underline-offset: 0.075em;
}
a:visited { text-decoration-color: #FF68CC; }
a:hover {
  text-decoration-thickness: 1em;
  text-underline-offset: -0.834em;
}
a:active { color: #C42525; }
