/* Shared styles for lalaqua.in. Plain CSS, no build step. */
:root {
  --bg: #f4fbf8;
  --surface: #ffffff;
  --text: #161d1b;
  --muted: #3f4946;
  --line: #dae5e1;
  --brand: #006a60;
  --brand-soft: #9ef2e3;
  --brand-ink: #00201c;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1513;
    --surface: #161d1b;
    --text: #dde4e1;
    --muted: #bec9c5;
    --line: #2b3230;
    --brand: #82d5c7;
    --brand-soft: #005048;
    --brand-ink: #9ef2e3;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
}

main, header.site, footer.site {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px;
}

header.site {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 24px;
  padding-bottom: 8px;
}

header.site a { color: inherit; text-decoration: none; font-weight: 600; }
header.site img { width: 40px; height: 40px; border-radius: 10px; }

h1 { font-size: 2rem; line-height: 1.25; margin: 32px 0 8px; }
h2 { font-size: 1.3rem; margin: 36px 0 8px; }
h3 { font-size: 1.05rem; margin: 24px 0 4px; }
p, li { color: var(--text); }
.lead { font-size: 1.15rem; color: var(--muted); margin-top: 0; }
.muted { color: var(--muted); }

a { color: var(--brand); }

.hero {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 24px;
}
.hero img { width: 96px; height: 96px; border-radius: 22px; flex: none; }
.hero h1 { margin: 0; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 20px;
  margin: 16px 0;
}

.callout {
  background: var(--brand-soft);
  color: var(--brand-ink);
  border-radius: 16px;
  padding: 16px 20px;
  margin: 16px 0;
}
.callout p, .callout li { color: inherit; }

ul.features { padding-left: 1.2em; }
ul.features li { margin: 6px 0; }

table { border-collapse: collapse; width: 100%; margin: 12px 0; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }

.table-wrap { overflow-x: auto; }

footer.site {
  margin-top: 48px;
  padding-top: 16px;
  padding-bottom: 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
footer.site a { color: var(--muted); }

@media (max-width: 520px) {
  .hero { flex-direction: column; align-items: flex-start; }
  h1 { font-size: 1.7rem; }
}
