/* NiVar Industries - one stylesheet for all pages. Colours sampled from the logo (2026-12-04). */
:root {
  --bg: #131312;
  --panel: #1c1c1a;
  --line: #2c2c29;
  --text: #ecebe6;
  --muted: #a9a8a1;
  --orange: #e85c16;
  --blue: #4a86d8;
}
* { 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, Helvetica, Arial, sans-serif;
}
a { color: var(--blue); }
a:hover { color: var(--orange); }
.wrap { max-width: 860px; margin: 0 auto; padding: 0 20px; }
header { border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-weight: 600; letter-spacing: .04em; }
.brand img { width: 44px; height: 44px; border-radius: 6px; }
nav a { color: var(--muted); text-decoration: none; margin-left: 18px; font-size: 15px; }
nav a:hover { color: var(--text); }
.hero { text-align: center; padding: 48px 0 24px; }
.hero img { width: min(320px, 70vw); height: auto; border-radius: 14px; }
.hero p { color: var(--muted); font-size: 19px; max-width: 620px; margin: 8px auto 0; }
h1 { font-size: 30px; line-height: 1.25; margin: 40px 0 8px; }
h2 { font-size: 21px; margin: 32px 0 8px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 28px 0; }
.card { background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--orange); border-radius: 8px; padding: 16px 18px; }
.card:nth-child(even) { border-left-color: var(--blue); }
.card h3 { margin: 0 0 4px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.contact { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px; margin: 28px 0 40px; }
.contact p { margin: 4px 0; }
.small { color: var(--muted); font-size: 14px; }
footer { border-top: 1px solid var(--line); padding: 20px 0 32px; color: var(--muted); font-size: 14px; }
footer a { color: var(--muted); margin-right: 16px; }
.doc { padding-bottom: 40px; }
.doc li { margin: 4px 0; }
@media (max-width: 560px) {
  nav a { margin-left: 12px; }
  .brand span { display: none; }
}
