/* wolterlog.com: the public site (homepage, privacy policy, terms, account
   deletion). Plain HTML and this one stylesheet; served by Firebase Hosting. */

:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #1e293b;
  --muted: #64748b;
  --border: #e2e8f0;
  --accent: #0ea5e9;
  --accent-strong: #0369a1;
  --accent-soft: #e0f2fe;
  --note-bg: #f1f5f9;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f172a;
    --surface: #1e293b;
    --text: #e2e8f0;
    --muted: #94a3b8;
    --border: #334155;
    --accent: #38bdf8;
    --accent-strong: #7dd3fc;
    --accent-soft: #0c4a6e;
    --note-bg: #1e293b;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Hebrew", Arial, sans-serif;
}

a { color: var(--accent-strong); }
a:hover { text-decoration-thickness: 2px; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }

/* Header */
header.site {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  flex-wrap: wrap;
  padding-top: 8px;
  padding-bottom: 8px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand span { color: var(--accent); }
nav.links { display: flex; gap: 14px; flex-wrap: wrap; font-size: 0.92rem; }
nav.links a { color: var(--muted); text-decoration: none; }
nav.links a:hover, nav.links a[aria-current="page"] { color: var(--text); }
.lang { font-size: 0.92rem; }
.lang a { color: var(--muted); }

/* Content */
main { padding: 32px 0 48px; }
main h1 { font-size: 1.9rem; line-height: 1.25; margin: 0 0 4px; letter-spacing: -0.02em; }
main h2 { font-size: 1.25rem; margin: 2em 0 0.4em; }
main h3 { font-size: 1.05rem; margin: 1.4em 0 0.3em; }
.updated { color: var(--muted); font-size: 0.92rem; margin: 0 0 24px; }
.note {
  background: var(--note-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
}
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { border: 1px solid var(--border); padding: 8px 10px; text-align: start; vertical-align: top; }
th { background: var(--note-bg); }
.table-scroll { overflow-x: auto; }
/* Phones: each table row becomes a card, with the column name on each cell. */
@media (max-width: 560px) {
  .table-scroll table, .table-scroll tbody, .table-scroll tr, .table-scroll td { display: block; width: 100%; }
  .table-scroll tr:first-child { display: none; }
  .table-scroll tr { border: 1px solid var(--border); border-radius: 10px; margin-bottom: 10px; padding: 6px 12px; background: var(--surface); }
  .table-scroll td { border: 0; padding: 3px 0; }
  .table-scroll td::before { content: attr(data-label) ": "; color: var(--muted); font-weight: 600; }
}
ol li, ul li { margin: 0.25em 0; }

/* Homepage */
.hero { text-align: center; padding: 24px 0 8px; }
.hero img { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 6px 24px rgba(15, 23, 42, 0.18); }
.hero h1 { font-size: 2.3rem; margin-top: 16px; }
.hero h1 span { color: var(--accent); }
.hero p.tagline { font-size: 1.15rem; color: var(--muted); margin: 8px auto 0; max-width: 34em; }
.badge {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 600;
}
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin: 32px 0;
  padding: 0;
  list-style: none;
}
.features li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin: 0;
}
.features strong { display: block; margin-bottom: 4px; }
.features span { color: var(--muted); font-size: 0.95rem; }

/* Footer */
footer.site {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.88rem;
  padding: 20px 0 32px;
}
footer.site p { margin: 4px 0; }
footer.site a { color: var(--muted); }
