:root {
  --bg: #fff8f5;
  --surface: #ffffff;
  --coral: #e8577a;
  --coral-soft: #fde2e7;
  --red: #d64b40;
  --text: #2b2024;
  --muted: #8a7a80;
  --border: #f0dde3;
  --radius: 20px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #1d1518;
    --surface: #2a2024;
    --coral-soft: #4a2631;
    --text: #f7ecef;
    --muted: #b9a7ad;
    --border: #3d2d33;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
a { color: var(--coral); }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }

header.top { display: flex; align-items: center; gap: 10px; padding: 20px 0; }
header.top a.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
header.top img { width: 36px; height: 36px; }
header.top .word { font-size: 26px; font-weight: 900; color: var(--coral); letter-spacing: -0.5px; }
header.top .spacer { flex: 1; }
.langs { display: flex; gap: 4px; }
.langs button {
  border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 14px; font-weight: 800;
  padding: 6px 8px; border-radius: 999px; cursor: pointer;
}
.langs button[aria-pressed='true'] { background: var(--coral-soft); color: var(--coral); }

.hero { text-align: center; padding: 40px 0 24px; }
.hero img { width: 132px; height: 132px; }
.hero h1 { font-size: clamp(32px, 7vw, 48px); line-height: 1.1; margin: 20px 0 12px; font-weight: 900; letter-spacing: -1px; }
.hero p { color: var(--muted); font-size: 19px; margin: 0 auto 28px; max-width: 30em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--coral); color: #fff; text-decoration: none; font-weight: 800; font-size: 17px;
  padding: 16px 28px; border-radius: 16px; border: 0; cursor: pointer; min-width: 240px;
}
.btn.ghost { background: transparent; color: var(--coral); border: 2px solid var(--coral); }
.btns { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.note { color: var(--muted); font-size: 14px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin: 32px 0; }
.card { background: var(--surface); border-radius: var(--radius); padding: 22px; box-shadow: 0 4px 16px rgba(122, 46, 69, 0.07); }
.card .emoji { font-size: 30px; }
.card h3 { margin: 8px 0 4px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.push {
  max-width: 360px; margin: 8px auto 0; background: var(--surface); border-radius: 18px; padding: 14px 16px;
  display: flex; gap: 12px; align-items: center; text-align: left; box-shadow: 0 8px 28px rgba(122, 46, 69, 0.12);
}
.push img { width: 40px; height: 40px; border-radius: 10px; }
.push b { display: block; }
.push span { color: var(--muted); font-size: 15px; }

article { padding: 8px 0 40px; }
article h1 { font-size: 32px; line-height: 1.2; margin: 16px 0 4px; }
article h2 { font-size: 20px; margin: 32px 0 8px; }
article .updated { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
article li { margin: 4px 0; }

footer { border-top: 1px solid var(--border); margin-top: 40px; padding: 24px 0 40px; color: var(--muted); font-size: 14px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 8px; }
footer a { color: var(--muted); }

[data-lang] { display: none; }
html[lang='pt'] [data-lang='pt'], html[lang='en'] [data-lang='en'], html[lang='fr'] [data-lang='fr'] { display: revert; }
