/* The plain pages around the app (About, in English and Finnish). Same colours
   as the app; no JavaScript, so search engines and link previews read them. */

:root {
  --text: #10231a;
  --text-secondary: #5b6b62;
  --background: #f6faf6;
  --element: #eaf1ec;
  --border: #e3ece5;
  --accent: #1e6b47;
  --accent-soft: #ddefe4;
  --dot: #f06a6a;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #eaf2ec;
    --text-secondary: #9bb0a3;
    --background: #0d1411;
    --element: #16201b;
    --border: #23332a;
    --accent: #5cc48f;
    --accent-soft: #1e3a2b;
  }
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a {
  color: var(--accent);
}

.page {
  max-width: 44rem;
  margin: 0 auto;
  padding: 1.25rem 1rem 3rem;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.wordmark {
  color: var(--accent);
  font-weight: 800;
  font-size: 1.75rem;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.wordmark span {
  color: var(--dot);
}

.language {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.25rem 0.9rem;
  font-size: 0.9rem;
}

h1 {
  font-size: clamp(1.9rem, 6vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

h2 {
  font-size: 1.35rem;
  line-height: 1.25;
  margin: 2.75rem 0 1rem;
}

h3 {
  font-size: 1.05rem;
  margin: 0 0 0.25rem;
}

.lead {
  color: var(--text-secondary);
  font-size: 1.15rem;
  margin: 0 0 1.5rem;
}

.button {
  display: inline-block;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
}

@media (prefers-color-scheme: dark) {
  .button {
    color: #0d1411;
  }
}

.points {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.points li {
  background: var(--element);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
}

.points p,
.faq p {
  margin: 0;
  color: var(--text-secondary);
}

.note {
  background: var(--accent-soft);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
}

.note p {
  margin: 0;
}

.faq {
  margin: 0;
}

.faq dt {
  font-weight: 700;
  margin-top: 1.25rem;
}

.faq dd {
  margin: 0.25rem 0 0;
}

footer {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

footer a {
  margin-right: 1rem;
}
