/* One small stylesheet for the app's site: readable, light and dark, both text directions. No scripts, no trackers. */
:root {
  --bg: #f4f7f5;
  --text: #13221d;
  --muted: #46574f;
  --line: #c9d6d0;
  --accent: #1e5b4c;
  --surface: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1613;
    --text: #ecf3f0;
    --muted: #afc0b8;
    --line: #2e3f38;
    --accent: #86cdb5;
    --surface: #16211d;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
main, header, footer { max-width: 720px; margin-inline: auto; padding-inline: 20px; }
header { padding-block: 28px 8px; }
footer { padding-block: 32px 48px; color: var(--muted); font-size: 15px; border-top: 1px solid var(--line); margin-top: 48px; }
h1 { font-size: 30px; line-height: 1.2; margin: 0 0 8px; }
h2 { font-size: 21px; line-height: 1.3; margin: 36px 0 8px; }
h3 { font-size: 17px; margin: 24px 0 4px; }
p, li { overflow-wrap: anywhere; }
a { color: var(--accent); }
.muted { color: var(--muted); }
.box { background: var(--surface); border-radius: 12px; padding: 16px 20px; margin-block: 16px; }
table { width: 100%; border-collapse: collapse; margin-block: 12px; font-size: 16px; }
th, td { text-align: start; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.table-wrap { overflow-x: auto; }
nav a { margin-inline-end: 16px; }
.cta { display: inline-block; padding: 12px 22px; border-radius: 999px; background: var(--accent); color: var(--bg); text-decoration: none; font-weight: 600; margin: 6px 8px 6px 0; }

/* The first heading inside a box sits at the top (no inline styles: the site's content rules forbid them). */
.box > h2:first-child { margin-top: 0; }

/* Support form */
form.contact { display: grid; gap: 14px; max-width: 560px; }
form.contact label { display: grid; gap: 6px; font-weight: 600; }
form.contact .hint { font-weight: 400; color: var(--muted); font-size: 0.95em; }
form.contact input, form.contact select, form.contact textarea {
  font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--muted); border-radius: 8px; padding: 12px; min-height: 48px;
}
form.contact textarea { min-height: 160px; resize: vertical; }
form.contact button { font: inherit; font-weight: 600; min-height: 48px; padding: 0 20px; border-radius: 24px; border: 0; cursor: pointer; justify-self: start; background: var(--accent); color: var(--bg); }
form.contact .error { color: #b3261e; font-weight: 600; }
@media (prefers-color-scheme: dark) { form.contact .error { color: #ff8a75; } }
form.contact .status { min-height: 1.4em; }
form.contact .trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
