:root {
  --bg: #f4ebdc;
  --fg: #2a2420;
  --muted: #6f6659;
  --line: #d9ccb4;
  --accent: #c2562f;
  --accent-fg: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14202b;
    --fg: #eef0f2;
    --muted: #9aa7b3;
    --line: #2b3a48;
    --accent: #e8b04a;
    --accent-fg: #1a1405;
  }
}
.brand { display: flex; align-items: center; gap: 14px; font-size: 2.25rem; line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 24px; }
.brand svg { width: 3rem; height: 3rem; flex: none; color: var(--accent); }
.brand b { font-weight: 800; }
.brand span { font-weight: 400; color: var(--accent); }
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  background: var(--bg);
  color: var(--fg);
  font: 18px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
main { width: 100%; max-width: 560px; }
h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.02em; }
p.lead { margin: 0 0 40px; color: var(--muted); }
label { display: block; font-weight: 600; margin-bottom: 8px; }
textarea, input[type=email], input[type=text], select {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 1rem;
  color: inherit;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
}
textarea { min-height: 200px; resize: vertical; }
textarea:focus, input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.field { margin-bottom: 20px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .row { grid-template-columns: 1fr; gap: 0; } }
input[type=text], input[type=email], select { height: 3rem; }
select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.opt { font-weight: 400; color: var(--muted); }
.hint { color: var(--muted); font-size: 0.9rem; margin-top: 6px; }
button {
  font: inherit;
  font-weight: 600;
  padding: 12px 24px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-fg);
  cursor: pointer;
}
button:disabled { opacity: 0.6; cursor: default; }
.hp { position: absolute; left: -9999px; }
#status { margin-top: 16px; min-height: 1.6em; }
#status.error { color: #c0392b; }
.thanks { display: none; }
.sent form { display: none; }
.sent .thanks { display: block; }

/* Content pages (FAQ, Problems we solve, About, Privacy) and shared footer */
body.doc { display: block; place-items: initial; }
.doc main { max-width: 680px; margin: 0 auto; }
.doc h1 { font-size: 2rem; margin: 0 0 16px; }
.doc h2 { font-size: 1.3rem; line-height: 1.3; margin: 40px 0 8px; letter-spacing: -0.01em; }
.doc p, .doc li { margin: 0 0 16px; }
.doc ul { padding-left: 1.2em; margin: 0 0 16px; }
.doc .brand { text-decoration: none; color: inherit; }
.doc a:not(.brand):not(.cta) { color: var(--accent); }
a.brand { text-decoration: none; color: inherit; }
.cta { display: inline-block; margin-top: 8px; padding: 12px 24px; border-radius: 8px; background: var(--accent); color: var(--accent-fg); font-weight: 600; text-decoration: none; }
.site-footer { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent); }
