:root {
  color-scheme: light dark;
  --bg: #f4f5f7; --card: #ffffff; --text: #1a1a1a; --muted: #6b7280;
  --border: #e2e4e9; --accent: #0f766e; --accent-hover: #0d5c56;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #14161a; --card: #1d2025; --text: #eceef1; --muted: #9aa1ab; --border: #2c3038; --accent: #2dd4bf; --accent-hover: #5eead4; }
}
:root[data-theme="dark"] { --bg: #14161a; --card: #1d2025; --text: #eceef1; --muted: #9aa1ab; --border: #2c3038; --accent: #2dd4bf; --accent-hover: #5eead4; }
:root[data-theme="light"] { --bg: #f4f5f7; --card: #ffffff; --text: #1a1a1a; --muted: #6b7280; --border: #e2e4e9; --accent: #0f766e; --accent-hover: #0d5c56; }
* { box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg); color: var(--text);
  max-width: 560px; margin: 0 auto; padding: 2rem 1.2rem 4rem; line-height: 1.55;
}
a { color: var(--accent); }
.topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.6rem; flex-wrap: wrap; gap: 0.5rem; }
.topbar h1 { font-size: 1.3rem; margin: 0; }
.topbar-right { display: flex; align-items: center; gap: 0.6rem; }
.theme-toggle { font-size: 0.9rem; padding: 0.2rem 0.5rem; border-radius: 6px; border: 1px solid var(--border); background: var(--card); color: var(--text); cursor: pointer; }
.lang-switch a { margin: 0 0.2rem; font-size: 0.82rem; text-decoration: none; color: var(--muted); }
.lang-switch a.active { color: var(--accent); font-weight: 600; }

.tagline { color: var(--muted); margin-bottom: 1.5rem; }

.card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 1.4rem; margin-bottom: 1.2rem; }

.scan-form input[type="email"], .scan-form input[type="text"] {
  width: 100%; font-size: 1rem; padding: 0.7rem 0.9rem; border-radius: 10px;
  border: 1px solid var(--border); background: var(--bg); color: var(--text); margin-bottom: 0.6rem;
}
.scan-form button {
  width: 100%; font-size: 1rem; font-weight: 700; padding: 0.8rem; border: none; border-radius: 10px;
  background: var(--accent); color: white; cursor: pointer;
}
.scan-form button:hover { background: var(--accent-hover); }
.hint { font-size: 0.8rem; color: var(--muted); margin: 0.2rem 0 0.8rem; }
.privacy-note { font-size: 0.78rem; color: var(--muted); text-align: center; margin-top: 1rem; margin-bottom: 0; }

.result-card .big { font-size: 1.15rem; margin: 0 0 0.6rem; }
.warn { color: #b45309; }
.ok { color: #15803d; }
.breach-list { margin: 0.6rem 0; padding-left: 1.2rem; }
.breach-list li { margin-bottom: 0.2rem; }

.domain-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.domain-checks li { font-size: 0.95rem; }

.btn {
  display: inline-block; width: 100%; text-align: center; font-weight: 700; padding: 0.8rem;
  border-radius: 10px; background: var(--accent); color: white; text-decoration: none;
}
.btn:hover { background: var(--accent-hover); }

.stats-bar { text-align: center; font-size: 0.8rem; color: var(--muted); margin-top: 2rem; }
.footer { text-align: center; font-size: 0.8rem; margin-top: 0.8rem; }
