/* simonbaconchildsupport.com.au — Site A "Child Support Advocate"
   Distinct design system: teal + slate, modern sans, generous whitespace.
   Hand-authored; intentionally different fingerprint from the other properties. */

:root {
  --teal-900: #134e4a;
  --teal-700: #0f766e;
  --teal-600: #0d9488;
  --teal-50:  #f0fdfa;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --bg: #f8fafc;
  --surface: #ffffff;
  --amber: #b45309;
  --maxw: 1080px;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15,23,42,.04), 0 8px 24px rgba(15,23,42,.06);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.7;
  color: var(--slate-700);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-700); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(6px);
  border-bottom: 1px solid var(--slate-200);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 24px; max-width: var(--maxw); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; color: var(--slate-900); letter-spacing: -.01em; }
.brand .mark { width: 34px; height: 34px; flex: 0 0 34px; }
.brand b { font-size: 1.04rem; line-height: 1.15; }
.brand span { display: block; font-size: .72rem; font-weight: 600; color: var(--teal-700); text-transform: uppercase; letter-spacing: .08em; }
.nav-links { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.nav-links a { color: var(--slate-700); font-size: .95rem; font-weight: 600; padding: 8px 12px; border-radius: 8px; }
.nav-links a:hover { background: var(--teal-50); color: var(--teal-700); text-decoration: none; }
.nav-links a.cta { background: var(--teal-700); color: #fff; }
.nav-links a.cta:hover { background: var(--teal-900); }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(15,32,39,.86) 0%, rgba(15,118,110,.72) 100%); }
.hero-inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 92px 24px 84px; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); line-height: 1.08; margin: 0 0 18px; color: #fff; letter-spacing: -.02em; max-width: 18ch; }
.hero .lead { font-size: clamp(1.05rem, 2vw, 1.28rem); max-width: 60ch; color: #e2f1ef; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: #99f6e4; margin-bottom: 18px; }
.hero-actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; font-weight: 700; font-size: 1rem; padding: 14px 26px; border-radius: 10px; transition: transform .05s ease; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: #fff; color: var(--teal-900); }
.btn-primary:hover { background: var(--teal-50); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
.btn-ghost:hover { border-color: #fff; }
.btn-teal { background: var(--teal-700); color: #fff; }
.btn-teal:hover { background: var(--teal-900); }

/* ---------- Sections / content ---------- */
main { display: block; }
.section { padding: 68px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--slate-200); border-bottom: 1px solid var(--slate-200); }
.page-head { background: linear-gradient(180deg, var(--teal-900), var(--teal-700)); color: #fff; padding: 64px 0 56px; }
.page-head h1 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin: 0 0 12px; letter-spacing: -.02em; }
.page-head p { color: #d6f2ee; font-size: 1.15rem; max-width: 64ch; margin: 0; }

.prose { max-width: 760px; }
.prose.center { margin: 0 auto; }
.prose h2 { color: var(--slate-900); font-size: 1.7rem; line-height: 1.2; margin: 2.2em 0 .6em; letter-spacing: -.01em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { color: var(--teal-900); font-size: 1.24rem; margin: 1.8em 0 .5em; }
.prose p { margin: 0 0 1.15em; }
.prose ul, .prose ol { margin: 0 0 1.3em; padding-left: 1.25em; }
.prose li { margin: .4em 0; }
.prose strong { color: var(--slate-900); }
.prose a { font-weight: 600; border-bottom: 1px solid var(--slate-300); }
.prose a:hover { border-color: var(--teal-600); text-decoration: none; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card h3 { margin: 0 0 8px; color: var(--slate-900); font-size: 1.18rem; }
.card p { margin: 0; color: var(--slate-500); font-size: .98rem; }
.card .ico { width: 42px; height: 42px; border-radius: 10px; background: var(--teal-50); color: var(--teal-700); display: grid; place-items: center; font-weight: 800; margin-bottom: 14px; }

.section-title { text-align: center; max-width: 60ch; margin: 0 auto 44px; }
.section-title .eyebrow { color: var(--teal-700); }
.section-title h2 { color: var(--slate-900); font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 12px; letter-spacing: -.01em; }
.section-title p { color: var(--slate-500); margin: 0; font-size: 1.08rem; }

figure.media { margin: 0 0 1.6em; }
figure.media img { border-radius: var(--radius); box-shadow: var(--shadow); }
figure.media figcaption { font-size: .85rem; color: var(--slate-500); margin-top: 8px; text-align: center; }

.feature-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center; }
.feature-row img { border-radius: var(--radius); box-shadow: var(--shadow); }

.callout { background: var(--teal-50); border: 1px solid #99f6e4; border-left: 4px solid var(--teal-600); border-radius: 10px; padding: 22px 26px; margin: 1.8em 0; }
.callout p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--slate-900); color: #fff; text-align: center; padding: 64px 0; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 12px; }
.cta-band p { color: var(--slate-300); margin: 0 auto 26px; max-width: 56ch; }
.phone-big { font-size: 1.5rem; font-weight: 800; color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--slate-900); color: var(--slate-300); padding: 52px 0 30px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 14px; }
.site-footer a { color: var(--slate-300); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 7px 0; }
.footer-credit { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--slate-700); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--slate-500); font-size: .85rem; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .feature-row { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-links.show { display: flex; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; background: #fff; border-bottom: 1px solid var(--slate-200); padding: 12px 24px; }
}
@media (max-width: 520px) {
  body { font-size: 17px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 64px 24px 56px; }
}
.nav-toggle { display: none; background: none; border: 1px solid var(--slate-300); border-radius: 8px; padding: 7px 10px; cursor: pointer; }
@media (max-width: 820px) { .nav-toggle { display: inline-flex; } }
