/* Muninn: Fréttir (news). Static pages, readable without JavaScript, so search and answer engines
   read them as they are (issue #11). The brand kit's tokens: Fraunces speaks about Muninn
   (headings), Atkinson Hyperlegible for everything else. Self-hosted fonts, no tracking, no forms. */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/fonts/fraunces-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/atkinson-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/atkinson-700.woff2') format('woff2');
}
:root {
  --night: #101823;
  --dagur: #fbfaf7;
  --ink: #1d2530;
  --body-ink: #3a4350;
  --amber-dim: #8a6a34;
  --line: #dad5cb;
  --muted: #6b7280;
  --on-night: #e8e4dc;
  --on-night-soft: rgba(232, 228, 220, 0.74);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Atkinson Hyperlegible', system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  background: var(--dagur);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--amber-dim);
  outline-offset: 3px;
}
.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  background: var(--dagur);
  padding: 8px 12px;
  z-index: 30;
}
.top {
  border-bottom: 1px solid var(--line);
  background: var(--dagur);
}
.top-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  min-height: 72px;
  max-width: 1120px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand img {
  width: 40px;
  height: 35px;
}
.wordmark {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.015em;
}
.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  margin-left: auto;
}
.top-nav a {
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  color: var(--body-ink);
  padding: 6px 0;
}
/* The language switcher: on every page, phones included; the current one underlined. */
.lang-switch {
  display: flex;
  gap: 2px;
}
.lang-switch a {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--body-ink);
  padding: 10px 6px;
  min-width: 32px;
  text-align: center;
}
.lang-switch a[aria-current='page'],
.lang-switch a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 6px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.top-nav a[aria-current='page'],
.top-nav a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 6px;
}
main {
  padding: 56px 0 80px;
}
.eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-dim);
  margin: 0 0 12px;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 44px;
  margin: 0 0 20px;
}
h2 {
  font-size: 28px;
  margin: 44px 0 12px;
}
h3 {
  font-size: 22px;
  margin: 28px 0 8px;
}
article ol,
article ul {
  padding-left: 1.4em;
}
article li {
  margin: 0 0 8px;
}
.faq {
  margin-top: 56px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.lead {
  font-size: 21px;
  color: var(--body-ink);
}
.meta {
  color: var(--muted);
  font-size: 15px;
}
p,
li {
  color: var(--body-ink);
}
.posts {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  border-top: 1px solid var(--line);
}
.posts li {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.posts h2 {
  margin: 4px 0 8px;
  font-size: 26px;
}
.posts h2 a {
  text-decoration: none;
}
.posts h2 a:hover {
  text-decoration: underline;
}
.foot {
  background: var(--night);
  color: var(--on-night-soft);
  padding: 40px 0 48px;
  font-size: 15.5px;
}
.foot a {
  color: var(--on-night);
  font-weight: 700;
}
.foot p {
  color: var(--on-night-soft);
  margin: 6px 0;
}
@media (max-width: 560px) {
  html,
  body {
    font-size: 17px;
  }
  .wrap {
    padding: 0 16px;
  }
  h1 {
    font-size: 34px;
  }
  .top-nav {
    margin-left: 0;
  }
}
