/* walletalk.app: shared styles for the home, privacy and support pages. */
:root {
  --bg: #F5F6FA; --card: #FFFFFF; --fg: #14161F; --muted: #5E6377; --line: #E4E5EE;
  --accent: #4F46E5; --accent-2: #7C3AED; --soft: #EEF0FF;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0E1016; --card: #171A22; --fg: #F1F2F6; --muted: #A3A8BA; --line: #2B2F3C; --accent: #8B8FF8; --accent-2: #B794F6; --soft: #1E2140; color-scheme: dark; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Arabic", Tahoma, sans-serif;
}
a { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: 760px; margin: 0 auto; padding: 24px 16px 56px; }
header.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); font-weight: 800; font-size: 20px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.langs { display: flex; gap: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.langs button { font: inherit; font-size: 14px; border: 0; background: none; color: var(--muted); padding: 5px 12px; border-radius: 999px; cursor: pointer; }
.langs button[aria-pressed="true"] { background: var(--accent); color: #fff; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
h1 { font-size: 30px; line-height: 1.2; margin: 0 0 8px; }
h2 { font-size: 19px; margin: 28px 0 6px; }
p, li { max-width: 68ch; }
.muted { color: var(--muted); }
.hero { text-align: center; padding: 36px 24px; }
.hero img { width: 88px; height: 88px; border-radius: 22px; margin-bottom: 14px; }
.hero h1 { font-size: 34px; }
.pill { display: inline-block; background: var(--soft); color: var(--accent); font-weight: 700; font-size: 14px; padding: 4px 12px; border-radius: 999px; margin-top: 10px; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 16px; }
.features div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.features b { display: block; margin-bottom: 4px; }
.examples { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px; }
.examples span { background: var(--soft); border-radius: 999px; padding: 6px 12px; font-size: 15px; }
footer { margin-top: 32px; text-align: center; font-size: 14px; color: var(--muted); }
footer a { margin: 0 8px; }
[lang]:not(html)[hidden] { display: none; }
.updated { font-size: 14px; color: var(--muted); }
