/* ===========================================================
   Care Coaching Melbourne — Design System
   Brand: blue + green (logo), soft purple (NDIS) accent
   =========================================================== */

:root {
  /* Brand */
  --blue:        #1b75bc;
  --blue-600:    #1769ab;
  --blue-700:    #14598f;
  --blue-900:    #0f3f66;
  --green:       #5aa83b;
  --green-600:   #4f9633;
  --green-700:   #427e2b;
  --purple:      #6a2c84;
  --purple-600:  #5d2773;
  --ndis-lime:   #8cc63f;

  /* Tints */
  --blue-tint:   #eaf3fb;
  --blue-tint-2: #f4f9fd;
  --green-tint:  #eef6e9;
  --green-tint-2:#f5faf1;
  --purple-tint: #f3edf7;
  --purple-tint-2:#faf7fc;

  /* Neutrals — cool slate */
  --ink:      #16252e;
  --ink-2:    #2b3d47;
  --muted:    #5c6f78;
  --muted-2:  #8395 9d;
  --muted-2:  #839099;
  --line:     #e3eaee;
  --line-2:   #eef3f5;
  --surface:  #ffffff;
  --bg:       #f6f9fa;
  --bg-2:     #eef4f6;

  /* Effects */
  --radius:    20px;
  --radius-sm: 14px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(20,50,70,.04), 0 2px 8px rgba(20,50,70,.05);
  --shadow:    0 4px 14px rgba(20,50,70,.06), 0 12px 34px rgba(20,50,70,.07);
  --shadow-lg: 0 10px 30px rgba(20,50,70,.08), 0 30px 70px rgba(20,50,70,.12);
  --shadow-blue: 0 10px 30px rgba(27,117,188,.22);
  --ring: 0 0 0 4px rgba(27,117,188,.14);

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce){ html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { line-height: 1.12; margin: 0; letter-spacing: -.02em; font-weight: 700; color: var(--ink); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.85rem); font-weight: 800; }
h3 { font-size: 1.32rem; font-weight: 700; }
p  { margin: 0; text-wrap: pretty; }
a  { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 700; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 8vw, 120px); }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.bg-soft   { background: var(--bg); }
.bg-blue   { background: var(--blue-tint-2); }
.bg-green  { background: var(--green-tint-2); }
.bg-ink    { background: var(--ink); color: #dfe9ee; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue-600);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--green); }
.eyebrow.is-green { color: var(--green-700); }
.eyebrow.is-green::before { background: var(--blue); }
.eyebrow.is-purple { color: var(--purple); }
.eyebrow.is-purple::before { background: var(--purple); }
.eyebrow.is-light { color: #9fd2f5; }
.eyebrow.is-light::before { background: var(--ndis-lime); }

.section-head { max-width: 680px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: 16px; }
.section-head .lede { margin-top: 18px; color: var(--muted); font-size: 1.12rem; }

.lede { color: var(--muted); font-size: 1.12rem; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--blue); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: inherit; font-size: 1rem; font-weight: 700; line-height: 1;
  padding: 16px 26px; border-radius: var(--radius-pill);
  background: var(--bg); color: var(--fg); border: 1.5px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn--primary:hover { background: var(--blue-600); box-shadow: 0 14px 36px rgba(27,117,188,.3); }
.btn--green { background: var(--green); color: #fff; box-shadow: 0 10px 30px rgba(90,168,59,.24); }
.btn--green:hover { background: var(--green-600); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue-700); }
.btn--light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.25); }
.btn--light:hover { background: rgba(255,255,255,.2); }
.btn--sm { padding: 12px 18px; font-size: .92rem; }
.btn--lg { padding: 18px 32px; font-size: 1.06rem; }

.textlink {
  display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--blue-700);
  font-size: .98rem;
}
.textlink svg { width: 16px; height: 16px; transition: transform .2s ease; }
.textlink:hover svg { transform: translateX(4px); }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card--hover:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #d6e6f2; }

/* icon chip */
.ichip {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: var(--blue-tint); color: var(--blue); flex: none;
}
.ichip svg { width: 26px; height: 26px; }
.ichip.is-green  { background: var(--green-tint); color: var(--green-700); }
.ichip.is-purple { background: var(--purple-tint); color: var(--purple); }

/* pills / tags */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: var(--radius-pill);
  background: #fff; border: 1px solid var(--line); font-size: .9rem; font-weight: 600; color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.pill svg { width: 16px; height: 16px; color: var(--green-600); }

/* image placeholder */
.ph {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background:
    repeating-linear-gradient(135deg, #e9f0f5 0 14px, #eef4f8 14px 28px);
  border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--muted);
}
.ph__tag {
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .8rem; letter-spacing: .03em;
  background: rgba(255,255,255,.85); padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line);
  color: var(--muted); backdrop-filter: blur(2px);
}

/* reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .07s; }
.reveal.d2 { transition-delay: .14s; }
.reveal.d3 { transition-delay: .21s; }
.reveal.d4 { transition-delay: .28s; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1; transform: none; } }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
