/* brickhaven.app - brand colours from brand/logo.py (navy #15284B, brick #E8673F) */
:root {
  --navy: #15284b;
  --brick: #e8673f;
  --bg: #fbf8f5;
  --surface: #ffffff;
  --text: #1b1f27;
  --muted: #5b6270;
  --line: #e4ddd5;
  --link: #b8471f;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1a30;
    --surface: #15284b;
    --text: #eef1f6;
    --muted: #a9b2c3;
    --line: #2a3d63;
    --link: #f39270;
  }
}
* { 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;
}
a { color: var(--link); }
header, main, footer { max-width: 760px; margin: 0 auto; padding: 0 20px; }
header { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; padding-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 20px; }
.brand svg { width: 36px; height: 36px; }
.lang { font-size: 15px; }
main { padding-bottom: 48px; }
h1 { font-size: 32px; line-height: 1.2; margin: 24px 0 12px; }
h2 { font-size: 21px; margin: 32px 0 8px; }
h3 { font-size: 17px; margin: 20px 0 4px; }
p, li { color: var(--text); }
.muted, .updated { color: var(--muted); font-size: 15px; }
address { font-style: normal; }
footer { border-top: 1px solid var(--line); padding-top: 20px; padding-bottom: 32px; color: var(--muted); font-size: 14px; }
footer nav { margin-bottom: 8px; }

/* home */
.hero { text-align: center; padding: 32px 0 16px; }
.hero svg { width: 112px; height: 112px; }
.hero h1 { font-size: 40px; margin-top: 16px; }
.hero .lead { font-size: 20px; color: var(--muted); margin: 0 auto; max-width: 520px; }
.badges { margin: 20px 0 0; color: var(--muted); }
.features { list-style: none; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 32px 0; }
.features li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.features b { display: block; margin-bottom: 4px; }

/* contact form */
form { display: grid; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; margin: 20px 0; }
label { display: grid; gap: 4px; font-weight: 600; font-size: 15px; }
input, select, textarea { font: inherit; font-weight: 400; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; width: 100%; }
textarea { min-height: 160px; resize: vertical; }
button { font: inherit; font-weight: 600; color: #fff; background: var(--brick); border: 0; border-radius: 10px; padding: 12px 18px; cursor: pointer; justify-self: start; }
button:disabled { opacity: 0.6; cursor: default; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.status { margin: 0; font-weight: 600; }
.status.error { color: #c0392b; }
@media (prefers-color-scheme: dark) {
  .brand svg, .hero svg { border-radius: 22%; box-shadow: 0 0 0 1px var(--line); }
}
