/* Aussie Builders Directory base styles (from page-designs/assets/base.css): the palette and the few parts every page shares, taken from the profile page
   (profile-page-design.html). The header and footer bring their own CSS (scripts/build_chrome.py);
   page-specific CSS goes in the page. Fonts: Archivo + Public Sans from Google Fonts, loaded by each page. */
:root {
  --bp-navy: #0a2463;
  --bp-navy-deep: #071a4a;
  --bp-sky: #5b9cff;
  --bp-sky-hover: #7db1ff;
  --bp-blue: #1652d9;
  --bp-blue-deep: #0f3fae;
  --bp-pale: #eaf1fe;
  --bp-tint: #d6e4fd;
  --bp-line: #dbe3ef;
  --bp-line-strong: #b9cbe8;
  --bp-rule: #eef2f7;
  --bp-bg: #f3f6fa;
  --bp-text: #101828;
  --bp-muted: #4a5568;
  --bp-good: #127a3e;
  --bp-bad: #b42318;
  --bp-gold: linear-gradient(135deg, #f7dc83 0%, #e4b43c 48%, #c8932a 72%, #f2d27b 100%);
  --bp-display: 'Archivo', system-ui, sans-serif;
  --bp-body: 'Public Sans', system-ui, sans-serif;
  --bp-radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bp-bg); color: var(--bp-text); font: 400 16px/1.55 var(--bp-body); -webkit-font-smoothing: antialiased; }
:where(h1, h2, h3, h4) { margin: 0; font-family: var(--bp-display); color: var(--bp-navy); line-height: 1.2; }
:where(h1) { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.02em; }
:where(h2) { font-size: 21px; font-weight: 700; }
:where(h3) { font-size: 17px; font-weight: 700; }
:where(p) { margin: 0; }
a:where(:not(.site-hd *, .site-ft *)) { color: var(--bp-blue); text-decoration: none; }
a:where(:not(.site-hd *, .site-ft *)):hover { color: var(--bp-blue-deep); text-decoration: underline; }
button, input, select, textarea { font: inherit; }

/* The column: 1200 wide with 24px each side, the same as the header and footer. */
.bp-wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
.bp-main { padding-block: 16px 56px; }

.bp-card { background: #fff; border: 1px solid var(--bp-line); border-radius: var(--bp-radius); padding: 24px; }

.bp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px;
  border: 1px solid transparent; border-radius: 4px; background: var(--bp-blue); color: #fff;
  font: 700 15px/1 var(--bp-display); text-decoration: none; cursor: pointer; white-space: nowrap;
}
.bp-btn:hover { background: var(--bp-blue-deep); color: #fff; text-decoration: none; }
.bp-btn-secondary { background: #fff; border-color: var(--bp-line-strong); color: var(--bp-navy); }
.bp-btn-secondary:hover { background: #fff; border-color: var(--bp-blue); color: var(--bp-navy); }
.bp-btn-sky { background: var(--bp-sky); color: var(--bp-navy); }
.bp-btn-sky:hover { background: var(--bp-sky-hover); color: var(--bp-navy); }
.bp-btn:focus-visible, .bp-field:focus-visible { outline: 3px solid var(--bp-sky); outline-offset: 2px; }

.bp-field {
  width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--bp-line-strong); border-radius: 4px;
  background: #fff; color: var(--bp-text);
}
.bp-field:focus { border-color: var(--bp-blue); outline: none; box-shadow: 0 0 0 3px var(--bp-tint); }
textarea.bp-field { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; }
.bp-label { display: block; margin-bottom: 6px; color: var(--bp-navy); font: 700 14px/1.3 var(--bp-display); }

.bp-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; color: var(--bp-muted); font-size: 13px; }
.bp-muted { color: var(--bp-muted); }
.bp-vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
