:root { color-scheme: light; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; --background: #fafafa; --foreground: #252d35; --card: #fff; --muted: #f2f5f8; --muted-foreground: #617080; --primary: #4f2b70; --accent: #746fd2; --border: #dde3e9; --shadow: rgb(31 24 39 / 10%); color: var(--foreground); background: var(--background); }
html.dark { color-scheme: dark; --background: #252d35; --foreground: #fafafa; --card: #2d3740; --muted: #323d47; --muted-foreground: #b7c0c9; --primary: #d5eafd; --accent: #8b86e7; --border: #43505b; --shadow: rgb(0 0 0 / 38%); }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--background); color: var(--foreground); transition: background-color .2s ease, color .2s ease; }
.shell { width: min(100% - 2rem, 58rem); margin: 0 auto; padding: 1.25rem 0 3rem; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.brand { color: var(--primary); font-size: 1.35rem; font-weight: 800; text-decoration: none; }
.languages { display: flex; gap: .5rem; }
.languages button { min-height: 44px; padding: .55rem .9rem; border: 1px solid var(--border); border-radius: .75rem; background: var(--card); color: var(--foreground); font: inherit; font-weight: 700; cursor: pointer; }
.languages button:hover { border-color: var(--accent); }
.languages button[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: var(--background); }
.languages button:focus-visible, .button:focus-visible, .brand:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.policy { display: none; }
.policy.active { display: block; }
.card { margin-top: 1rem; padding: clamp(1.15rem, 3vw, 2rem); border: 1px solid var(--border); border-radius: 1rem; background: var(--card); box-shadow: 0 12px 34px var(--shadow); }
.hero { border-top: 5px solid var(--accent); }
.eyebrow, .updated { color: var(--muted-foreground); font-weight: 700; }
h1, h2, p { margin-top: 0; }
h1 { color: var(--primary); font-size: clamp(2rem, 6vw, 3.25rem); line-height: 1.15; }
h2 { margin-bottom: .65rem; font-size: clamp(1.25rem, 4vw, 1.65rem); }
p, li { line-height: 1.75; }
li + li { margin-top: .45rem; }
.summary { background: var(--muted); border-color: var(--border); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: .65rem 1rem; border-radius: .75rem; background: var(--primary); color: var(--background); font-weight: 800; text-decoration: none; }
.policy[dir="rtl"] { text-align: right; }
.policy[dir="rtl"] ul { padding-right: 1.4rem; padding-left: 0; }
footer { padding-top: 1.5rem; text-align: center; color: var(--muted-foreground); }
@media (max-width: 520px) { .topbar { align-items: flex-start; flex-direction: column; } .languages { width: 100%; } .languages button { flex: 1; } }
@media (prefers-reduced-motion: no-preference) { .card { animation: enter .22s ease-out; } @keyframes enter { from { opacity: 0; transform: translateY(4px); } } }
