/* Presentation and blog pages (M9.4). Same palette as the app and the legal pages. */
:root {
  --bg: #FBF7F4; --surface: #FFFFFF; --text: #2B2126; --muted: #6B5C63; --accent: #A84D62; --on-accent: #FFFFFF;
  --line: #EADFE3;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #1A1418; --surface: #261D23; --text: #F3ECEF; --muted: #B3A2AA; --accent: #E08A9C; --on-accent: #1A1418;
    --line: #3A2D34; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); }
.wrap { max-width: 920px; margin: 0 auto; padding: 0 16px; }
header.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; flex-wrap: wrap; }
header.top .brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none;
  font-family: ui-serif, Georgia, serif; font-size: 20px; font-weight: 600; }
header.top .brand img { width: 28px; height: auto; }
nav.links { display: flex; gap: 16px; font-size: 15px; flex-wrap: wrap; }
nav.links a { color: var(--muted); text-decoration: none; }
nav.links a[aria-current="page"] { color: var(--text); font-weight: 600; }
.hero { text-align: center; padding: 40px 0 24px; }
.hero img.logo { width: 88px; height: auto; margin-bottom: 16px; }
h1 { font-family: ui-serif, Georgia, serif; font-size: clamp(32px, 6vw, 48px); line-height: 1.12; margin: 0 0 12px; }
h2 { font-family: ui-serif, Georgia, serif; font-size: 28px; line-height: 1.2; margin: 48px 0 16px; }
h3 { font-size: 19px; margin: 0 0 6px; }
.lead { font-size: 20px; color: var(--muted); max-width: 640px; margin: 0 auto 24px; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 14px;
  background: var(--text); color: var(--bg); text-decoration: none; font-weight: 600; }
.store small { display: block; font-weight: 400; font-size: 12px; opacity: .8; }
.store[aria-disabled="true"] { cursor: default; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.card p { margin: 0; color: var(--muted); }
.card .icon { font-size: 26px; display: block; margin-bottom: 8px; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 16px 20px 16px 64px;
  position: relative; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 20px; top: 16px;
  width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--on-accent);
  display: flex; align-items: center; justify-content: center; font-weight: 700; }
.steps li p { margin: 0; color: var(--muted); }
.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.post { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px;
  color: var(--text); text-decoration: none; }
.post .tag { font-size: 13px; color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.post h3 { margin: 6px 0; }
.post p { margin: 0; color: var(--muted); }
article.blog { max-width: 680px; margin: 0 auto; padding-bottom: 32px; }
article.blog .meta { color: var(--muted); font-size: 15px; }
article.blog h2 { font-size: 24px; margin-top: 32px; }
article.blog .summary { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 16px 20px; }
article.blog .summary ul { margin: 0; padding-left: 20px; }
article.blog .sources { font-size: 15px; color: var(--muted); }
article.blog .sources li { margin-bottom: 8px; }
article.blog .note { font-size: 15px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 32px; }
footer.bottom { border-top: 1px solid var(--line); margin-top: 48px; padding: 24px 0 40px; font-size: 14px; color: var(--muted); }
footer.bottom a { color: var(--muted); }
footer.bottom .langs a { margin-right: 10px; }
