/* redolive.studio: one small stylesheet for every page. No web fonts, so pages make no third-party requests. */
:root {
  --bg: #f7f3ea;
  --card: #fffdf8;
  --text: #2a2e22;
  --muted: #6b705f;
  --border: #e6e0d0;
  --accent: #b5443a;
  --olive: #55603a;
  --chip: #eef1de;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141612;
    --card: #1b1e18;
    --text: #f3f1e9;
    --muted: #a9ae9f;
    --border: #2f3429;
    --accent: #e8695d;
    --olive: #c2cc7a;
    --chip: #2e3524;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

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

.page { max-width: 680px; margin: 0 auto; padding: 24px 16px 48px; }

header.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.brand { color: var(--text); font-weight: 700; text-decoration: none; letter-spacing: 0.01em; }
.brand span { color: var(--accent); }

.lang { display: flex; gap: 4px; }
.lang a {
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}
.lang a[aria-current="true"] { background: var(--chip); color: var(--text); border-color: transparent; }

h1, h2 { font-family: "Iowan Old Style", Georgia, "Times New Roman", serif; line-height: 1.25; }
h1 { font-size: 34px; margin: 0 0 8px; }
h2 { font-size: 22px; margin: 36px 0 8px; }
p, ul { margin: 0 0 14px; }
li { margin-bottom: 6px; }
a { color: var(--accent); }

.meta { color: var(--muted); font-size: 15px; margin-bottom: 24px; }

.summary {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--olive);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 0 0 8px;
}

.app {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  color: var(--text);
  text-decoration: none;
  margin-bottom: 12px;
}
.app img { width: 64px; height: 64px; border-radius: 15px; flex: none; }
.app strong { display: block; font-size: 19px; }
.app span { color: var(--muted); font-size: 15px; }

.hero { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.hero img { width: 72px; height: 72px; border-radius: 17px; flex: none; }
.hero h1 { margin: 0; }

dl { margin: 0; }
dt { font-weight: 700; margin-top: 18px; }
dd { margin: 4px 0 0; }

footer {
  margin-top: 48px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}
footer a { color: var(--muted); }

[hidden] { display: none !important; }
