/* Settla Tabs' site: the Soft Seam theme's colours (SettlaTabs/Shared/Widget/SettlaTabsTheme.swift). */
:root {
  color-scheme: light dark;
  --bg: #fbfbf9;
  --text: #17231e;
  --muted: #5b6b64;
  --accent: #0b6b52;
  --card: #eafbf1;
  --rule: #d9e6df;
  --gradient: linear-gradient(120deg, #46c287, #f2c14e);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1714;
    --text: #e8f2ec;
    --muted: #a3b5ac;
    --accent: #99f2bb;
    --card: #17271f;
    --rule: #26362e;
    --gradient: linear-gradient(120deg, #99f2bb, #ffd65c);
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
}

body::before {
  content: "";
  display: block;
  height: 6px;
  background: var(--gradient);
}

main, header, footer {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
}

header img { height: 40px; width: auto; display: block; }
/* The wordmark is 5.6 times as wide as it's tall: smaller on narrow phones, so the language link fits. */
@media (max-width: 380px) { header img { height: 30px; } }
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) {
  .logo-light { display: none; }
  .logo-dark { display: block; }
}

nav a { margin-left: 16px; }

a { color: var(--accent); text-underline-offset: 2px; }

h1 { font-size: 2rem; line-height: 1.2; margin: 32px 0 8px; }
h2 { font-size: 1.25rem; margin: 36px 0 8px; }
h3 { font-size: 1.05rem; margin: 24px 0 4px; }

.updated, .lead { color: var(--muted); }
.lead { font-size: 1.15rem; }

.summary {
  background: var(--card);
  border-radius: 16px;
  padding: 4px 20px;
  margin: 24px 0;
}

ul { padding-left: 1.2em; }
li { margin: 4px 0; }

footer {
  margin-top: 56px;
  padding-top: 20px;
  padding-bottom: 40px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.9rem;
}

footer a { margin-right: 16px; }
