:root { --bg: #f8f9fb; --card: #ffffff; --text: #111827; --muted: #6b7280; --tint: #2563eb; --badge: #e5e7eb; --badge-text: #4b5563; --border: #e5e7eb; --on-tint: #ffffff; }
@media (prefers-color-scheme: dark) {
  :root { --bg: #0f172a; --card: #1e293b; --text: #f1f5f9; --muted: #94a3b8; --tint: #38bdf8; --badge: #334155; --badge-text: #cbd5e1; --border: #334155; --on-tint: #0f172a; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; line-height: 1.6; }
main, .site-header, .site-footer, .page { max-width: 720px; margin: 0 auto; padding: 0 1.25rem; }
a { color: var(--tint); }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.25rem; padding-bottom: 1.25rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; font-size: 1.2rem; color: var(--text); text-decoration: none; }
.brand img { border-radius: 10px; }
.langs { display: flex; gap: 0.75rem; }
.langs a { color: var(--muted); text-decoration: none; }
.langs a[aria-current="true"] { color: var(--tint); font-weight: 600; }
.tagline { color: var(--muted); font-size: 1.1rem; margin: 0.5rem 0 1.5rem; }
h1.tagline { color: var(--text); font-size: 1.6rem; }
.today { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 1.5rem; }
.date { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; color: var(--muted); margin: 0; }
.original { font-size: 0.85rem; color: var(--muted); font-style: italic; margin: 0.25rem 0 0; }
.motivation h1 { font-size: 1.8rem; line-height: 1.25; margin: 0.5rem 0 1rem; }
.motivation p { font-size: 1.1rem; margin: 0 0 0.9rem; }
.motivation blockquote { margin: 1.25rem 0 0; padding-left: 1rem; border-left: 3px solid var(--tint); font-style: italic; }
.motivation blockquote footer { font-style: normal; color: var(--muted); font-size: 0.95rem; }
.invite { text-align: center; margin: 2.5rem 0; }
.badges { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.badge { display: block; min-width: 160px; padding: 0.8rem 1rem; border-radius: 10px; background: var(--badge); color: var(--badge-text); text-decoration: none; font-weight: 600; text-align: center; }
.badge.active { background: var(--tint); color: var(--on-tint); }
.badge small { display: block; font-weight: 400; font-size: 0.8rem; }
.features ul { list-style: none; padding: 0; display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.features img { width: 100%; max-width: 240px; height: auto; display: block; margin: 0 auto 0.75rem; border-radius: 16px; border: 1px solid var(--border); }
.features h3 { margin: 0 0 0.25rem; }
.features p { margin: 0; color: var(--muted); }
.promise { text-align: center; color: var(--muted); margin: 2.5rem 0; }
.site-footer { border-top: 1px solid var(--border); padding-top: 1.25rem; padding-bottom: 2rem; color: var(--muted); font-size: 0.9rem; text-align: center; }
.app-page main { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; max-width: 420px; }
.app-icon { border-radius: 24px; }
.soon { color: var(--muted); }
.page table { border-collapse: collapse; width: 100%; font-size: 0.9rem; }
.page th, .page td { border: 1px solid var(--border); padding: 0.5rem; text-align: left; vertical-align: top; }
.button { display: inline-block; margin-top: 0.5rem; padding: 0.6rem 1rem; background: var(--tint); color: var(--on-tint); text-decoration: none; border-radius: 6px; }

main > section[lang] + section[lang] { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--muted); }
