/* 068: ounoworld.com. The app's "Ink" tokens (031), light and dark; system fonts only (FR-004). */
:root {
  --bg: #f3f2ef;
  --fg: #1f2328;
  --muted: #66635c;
  --line: #e4e2dd;
  --link: #1d4ed8;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121314;
    --fg: #ececea;
    --muted: #a3a19b;
    --line: #34332f;
    --link: #7aa7ff;
    color-scheme: dark;
  }
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

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

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

main:focus:not(:focus-visible) {
  outline: none;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  padding: 8px 14px;
  background: var(--fg);
  color: var(--bg);
  border-radius: 8px;
  text-decoration: none;
  z-index: 1;
}

.skip:focus {
  top: 12px;
}

/* Header: the name on the left, the pages on the right; they wrap on a narrow phone */
.top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--fg);
  font-weight: 650;
  font-size: 19px;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.top nav,
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  font-size: 15px;
}

.top nav a,
footer nav a {
  color: var(--muted);
  text-decoration: none;
}

.top nav a:hover,
footer nav a:hover,
.top nav a[aria-current="page"],
footer nav a[aria-current="page"] {
  color: var(--fg);
}

main {
  padding: 48px 0 72px;
}

h1 {
  font-size: clamp(30px, 7vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 650;
  margin: 0 0 16px;
  text-wrap: balance;
}

h2 {
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 650;
  margin: 48px 0 8px;
}

h3 {
  font-size: 17px;
  font-weight: 650;
  margin: 28px 0 4px;
}

p,
ul,
ol,
dl {
  margin: 0 0 16px;
}

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

li + li {
  margin-top: 6px;
}

.lead {
  font-size: 20px;
  line-height: 1.5;
  color: var(--fg);
  max-width: 34em;
}

.updated,
.note {
  color: var(--muted);
  font-size: 15px;
}

/* Plain rows: a label and its line, separated by a thin rule (no cards) */
.rows {
  list-style: none;
  padding: 0;
  margin: 24px 0 20px;
  border-top: 1px solid var(--line);
}

.rows > li,
.rows > div {
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.rows dt,
.rows strong {
  font-weight: 650;
}

.rows dd {
  margin: 2px 0 0;
}

.rows dd + dd {
  color: var(--muted);
}

/* Name and value on one line (the companies we use); stacked when they don't fit */
.pairs > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2px 16px;
  padding: 11px 0;
}

.pairs dd,
.pairs dd + dd {
  margin: 0;
  color: var(--muted);
}

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 48px;
  color: var(--muted);
  font-size: 14px;
}

footer nav {
  margin-bottom: 16px;
  column-gap: 16px;
}

footer p {
  margin: 0 0 6px;
}
