/* Colours. Change these to restyle the whole site. */
:root {
  --text: #33302E;
  --muted: #66605C;
  --background: #FFF1E5;
  --link: #0A5E66;
  --line: #E6D2C1;
}
@media (prefers-color-scheme: dark) {
  :root {
    --text: #F2E9E1;
    --muted: #B3A9A0;
    --background: #1F1B18;
    --link: #7FD1D8;
    --line: #3A332E;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 17px/1.6 Roboto, system-ui, sans-serif;
}

main {
  max-width: 42rem;
  margin: 0 auto;
  padding: 3rem 1rem 4rem;
}

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

header h1 {
  font-size: 1.9rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 1.5rem;
}
header h1 a { color: inherit; text-decoration: none; }

h2 {
  font-size: 1.35rem;
  margin: 3rem 0 0.5rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--line);
}
h2 .count {
  font-size: 0.85rem;
  font-weight: normal;
  color: var(--muted);
  margin-left: 0.25rem;
}
h3 {
  font-size: 1rem;
  margin: 1.75rem 0 0.25rem;
}

ul { list-style: none; padding: 0; margin: 0; }
li { padding: 0.45rem 0; }
li .org {
  display: block;
  font-size: 0.875rem;
  color: var(--muted);
}
li .org a { color: inherit; text-decoration: none; }
li .org a:hover { text-decoration: underline; }

.contents {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin: 2rem 0 0;
  font-size: 0.95rem;
}
.contents span { color: var(--muted); }

footer {
  margin-top: 4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--muted);
}
li .service {
  display: block;
  font-weight: 500;
}
li .url {
  display: block;
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}
li .bilingual {
  display: grid;
  grid-template-columns: 2rem 1fr;
  column-gap: 0.5rem;
}
li .lang {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--muted);
  padding-top: 0.2rem;
}
