/* zad.com.au. Black, white, ember. System fonts so the page makes no third-party requests. */
:root {
  color-scheme: light dark;
  --ink: #000000;
  --paper: #ffffff;
  --ember: #e0873f;
  --ember-ink: #b8551a;
  --muted: #5c6873;
  --line: #d9dde2;
  --surface: #f6f7f8;
  --measure: 66ch;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #ffffff;
    --paper: #000000;
    --ember-ink: #e0873f;
    --muted: #96a2ad;
    --line: #2a2f34;
    --surface: #0f1113;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--ember-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
code { font: 0.92em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--surface); padding: 1px 5px; border-radius: 4px; }

.top {
  max-width: 1100px;
  margin: 0 auto;
  padding: 26px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}
.nav-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.burger { display: none; }
.brand { display: flex; }
.brand img { display: block; height: 40px; width: auto; }
.top nav { display: flex; gap: 22px; flex-wrap: wrap; font-size: 15px; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover { color: var(--ink); }

main { max-width: 1100px; margin: 0 auto; padding: 0 24px 40px; }
section { padding: 56px 0; border-top: 1px solid var(--line); }
section:first-child { border-top: 0; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 16px; }
h1 { font-size: clamp(34px, 5.2vw, 60px); font-weight: 700; max-width: 22ch; }
h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
p { margin: 0 0 16px; max-width: var(--measure); }

.hero { padding: 64px 0 72px; }
.lede { font-size: clamp(19px, 2vw, 22px); line-height: 1.5; max-width: 60ch; }
.hero-note { color: var(--muted); font-size: 16px; }
.hero-note::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--ember); margin-right: 10px; vertical-align: 1px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px 40px; margin-top: 8px; }
.grid article p { max-width: none; }

.steps { counter-reset: step; list-style: none; margin: 8px 0 24px; padding: 0; max-width: 72ch; }
.steps li { counter-increment: step; position: relative; padding: 0 0 18px 52px; }
.steps li::before {
  content: counter(step) ".";
  position: absolute; left: 0; top: -2px;
  font-weight: 700; font-size: 22px; color: var(--ember);
  font-variant-numeric: tabular-nums;
}
.aside { color: var(--muted); font-size: 16px; }

.facts { margin: 8px 0 0; padding: 0; list-style: none; max-width: 72ch; }
.facts li { padding: 10px 0 10px 24px; border-bottom: 1px solid var(--line); position: relative; }
.facts li:last-child { border-bottom: 0; }
.facts li::before { content: ""; position: absolute; left: 0; top: 19px; width: 8px; height: 8px; border-radius: 50%; background: var(--ember); }

.cta { margin-top: 24px; }
.button {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 6px;
  font-weight: 600;
}
.button:hover { background: var(--ember); color: #000000; }

footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 24px 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
footer p { margin: 0 0 6px; max-width: none; } footer a { color: var(--muted); } footer a:hover { color: var(--ink); }
.doc .hero { padding: 48px 0 32px; } .doc .plain-section { padding: 28px 0; } .doc h2 { font-size: 22px; }

.notfound { padding: 96px 0; }
.notfound h1 { font-size: clamp(40px, 8vw, 96px); }

@media (max-width: 640px) {
  .top { padding: 20px 18px; } .brand img { height: 32px; }
  .burger { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; margin: -10px -10px -10px 0; cursor: pointer; }
  .burger span { display: block; height: 2px; background: var(--ink); border-radius: 1px; transition: transform .2s, opacity .2s; }
  .top nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; padding: 6px 18px 14px; background: var(--paper); border-bottom: 1px solid var(--line); font-size: 17px; z-index: 10; }
  .top nav a { padding: 12px 0; border-top: 1px solid var(--line); color: var(--ink); }
  .top nav a:first-child { border-top: 0; }
  .nav-toggle:checked ~ nav { display: flex; }
  .nav-toggle:checked ~ .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-toggle:focus-visible ~ .burger { outline: 2px solid var(--ember); outline-offset: 2px; }
  main { padding: 0 18px 32px; }
  section { padding: 40px 0; }
  .hero { padding: 40px 0 48px; }
  .steps li { padding-left: 44px; }
}
@media print {
  .top nav, .button { display: none; }
  body { font-size: 12pt; }
}

/* Contact form: plain HTML, posts to the site's own /api/contact. */
.contact { max-width: 60ch; margin-top: 8px; }
.field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 18px; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field textarea { font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--ember); outline-offset: 1px; border-color: var(--ember); }
.field textarea { resize: vertical; min-height: 140px; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
button.button { border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.contact .aside { margin-top: 12px; }
.field ::placeholder { color: var(--muted); opacity: 1; }
