/* Versiluz web pages (Prompt W). One stylesheet, system fonts only: no
   remote font, no script. Colours follow the app's light and dark schemes
   (lib/app/brand.dart). */

:root {
  --bg: #fafcfb;
  --surface: #edf2f0;
  --text: #14201f;
  --muted: #4a5957;
  --primary: #1d5c5a;
  --accent: #9a4636;
  --line: #d3dcda;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1716;
    --surface: #1a2423;
    --text: #e4ecea;
    --muted: #a9b8b5;
    --primary: #8fd0c9;
    --accent: #f0a996;
    --line: #34413f;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.25;
}

h1 { font-size: 2rem; margin: 0 0 0.5rem; }
h2 { font-size: 1.4rem; margin: 2.25rem 0 0.5rem; }
h3 { font-size: 1.1rem; margin: 1.5rem 0 0.25rem; }

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

.wrap {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 1rem 3rem;
}

.top {
  border-bottom: 1px solid var(--line);
}

.top .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  align-items: baseline;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  margin-right: auto;
}

.top nav a { margin-right: 1rem; }

.lang-switch { font-size: 0.95rem; }

.updated { color: var(--muted); font-size: 0.95rem; }

.lang-section + .lang-section {
  border-top: 2px solid var(--line);
  margin-top: 3rem;
  padding-top: 1rem;
}

.note {
  background: var(--surface);
  border-left: 4px solid var(--primary);
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.95rem;
}

th, td {
  border: 1px solid var(--line);
  padding: 0.5rem;
  text-align: left;
  vertical-align: top;
}

th { background: var(--surface); }

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

/* Landing page */

.hero { padding-top: 2rem; }

.promise {
  font-size: 1.3rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 0 0.5rem;
}

.badge {
  display: inline-block;
  min-width: 11rem;
  padding: 0.7rem 1.1rem;
  border-radius: 0.75rem;
  background: var(--primary);
  color: var(--bg);
  text-decoration: none;
  font-weight: 600;
  text-align: center;
}

.badge small {
  display: block;
  font-weight: 400;
  font-size: 0.8rem;
}

.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.shots figure { margin: 0; }

.shots img {
  display: block;
  width: 100%;
  max-width: 17rem;
  height: auto;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 1rem;
}

.shots figcaption {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

footer .wrap { padding-top: 1rem; padding-bottom: 2rem; }

footer a { margin-right: 1rem; }
