/* ==========================================================================
   SW Ally — Marketing site design system
   Clean modern SaaS. Indigo / slate palette. WCAG 2.1 AA contrast targets.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  /* SW Ally blue — taken from the brand mark.
     Token names are kept as --indigo-* so every existing rule inherits. */
  --indigo-50:  #eff6ff;
  --indigo-100: #dbeafe;
  --indigo-200: #bfdbfe;
  --indigo-300: #93c5fd;
  --indigo-500: #3b82f6;
  --indigo-600: #2563eb;
  --indigo-700: #1d4ed8;
  --indigo-800: #1e40af;
  --indigo-900: #17307d;

  /* Brand navy — headings, footer, the dark half of the logo */
  --navy-900: #0c2340;
  --navy-800: #14213d;
  --navy-700: #17307d;

  /* Logo colours (the mark reads these) */
  --logo-dark:  #17307d;
  --logo-light: #4a8ce8;

  /* Accent — used sparingly for coordinator path + highlights */
  --teal-50:  #ecfeff;
  --teal-100: #cffafe;
  --teal-500: #06b6d4;
  --teal-600: #0891b2;
  --teal-700: #0e7490;

  /* Neutrals */
  --slate-25:  #fcfcfd;
  --slate-50:  #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #060b18;

  /* Semantic */
  --green-50:  #ecfdf5;
  --green-600: #059669;
  --green-700: #047857;
  --amber-50:  #fffbeb;
  --amber-600: #d97706;
  --red-50:    #fef2f2;
  --red-600:   #dc2626;

  /* Applied */
  --bg:            #ffffff;
  --bg-alt:        var(--slate-50);
  --bg-deep:       var(--navy-900);
  --text:          var(--slate-800);
  --text-strong:   var(--navy-800);
  --text-muted:    var(--slate-600);
  --text-faint:    var(--slate-500);
  --border:        var(--slate-200);
  --border-strong: var(--slate-300);
  --brand:         var(--indigo-600);
  --brand-hover:   var(--indigo-700);
  --brand-soft:    var(--indigo-50);

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-full: 999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, .07), 0 1px 2px rgba(15, 23, 42, .04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, .07), 0 2px 4px rgba(15, 23, 42, .04);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, .10), 0 4px 8px rgba(15, 23, 42, .04);
  --shadow-xl: 0 24px 56px rgba(15, 23, 42, .13), 0 8px 16px rgba(15, 23, 42, .05);

  /* Layout */
  --container: 1160px;
  --container-narrow: 780px;
  --nav-h: 72px;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.nav-open { overflow: hidden; }

/* Off-screen reveal transforms must never produce a horizontal scrollbar.
   overflow-x: clip (not hidden) so position: sticky still works inside. */
main { overflow-x: clip; }

h1, h2, h3, h4, h5 {
  margin: 0 0 .5em;
  color: var(--text-strong);
  font-weight: 700;
  letter-spacing: -.021em;
  line-height: 1.18;
  text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 1.55rem + 2.6vw, 3.6rem); letter-spacing: -.032em; }
h2 { font-size: clamp(1.8rem, 1.35rem + 1.7vw, 2.65rem); letter-spacing: -.027em; }
h3 { font-size: clamp(1.2rem, 1.08rem + .45vw, 1.45rem); }
h4 { font-size: 1.06rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-hover); text-decoration: underline; }

img, svg { max-width: 100%; height: auto; display: block; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .4em; }

strong { color: var(--text-strong); font-weight: 650; }

hr { border: 0; border-top: 1px solid var(--border); margin: 3rem 0; }

:focus-visible {
  outline: 3px solid var(--indigo-500);
  outline-offset: 2px;
  border-radius: 3px;
}

::selection { background: var(--indigo-100); color: var(--indigo-900); }

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: .75rem 1.25rem;
  background: var(--indigo-700);
  color: #fff;
  border-radius: 0 0 var(--r-md) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; text-decoration: none; }

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding: clamp(3.5rem, 2.2rem + 5vw, 6.5rem) 0; }
.section--tight { padding: clamp(2.5rem, 1.8rem + 3vw, 4rem) 0; }
.section--alt { background: var(--bg-alt); }
.section--brand-soft { background: linear-gradient(180deg, var(--indigo-50) 0%, #fff 100%); }

.section-head { max-width: 720px; margin: 0 0 2.75rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--indigo-600);
  margin-bottom: .85rem;
}

.lede {
  font-size: clamp(1.08rem, 1rem + .4vw, 1.28rem);
  line-height: 1.6;
  color: var(--text-muted);
}

.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }

/* Grids */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 960px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}
.split--wide-left { grid-template-columns: 1.15fr .85fr; }
.split--wide-right { grid-template-columns: .85fr 1.15fr; }
@media (max-width: 900px) {
  .split, .split--wide-left, .split--wide-right { grid-template-columns: minmax(0, 1fr); }
  .split .split__media { order: 2; }
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.4rem;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease,
              color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--indigo-600);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--indigo-700); color: #fff; box-shadow: var(--shadow-md); }

.btn--secondary {
  background: #fff;
  color: var(--slate-800);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-xs);
}
.btn--secondary:hover { background: var(--slate-50); color: var(--slate-900); border-color: var(--slate-400); }

.btn--ghost { background: transparent; color: var(--slate-700); }
.btn--ghost:hover { background: var(--slate-100); color: var(--slate-900); }

.btn--on-dark {
  background: #fff;
  color: var(--indigo-800);
}
.btn--on-dark:hover { background: var(--indigo-50); color: var(--indigo-900); }

.btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.btn--outline-light:hover { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.7); }

.btn--lg { padding: .95rem 1.75rem; min-height: 54px; font-size: 1.05rem; }
.btn--sm { padding: .5rem .95rem; min-height: 40px; font-size: .92rem; }
.btn--block { display: flex; width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  align-items: center;
}
.btn-row--center { justify-content: center; }

.btn-note {
  font-size: .9rem;
  color: var(--text-faint);
  margin-top: 1rem;
}

/* --------------------------------------------------------------------------
   5. Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--nav-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-weight: 750;
  font-size: 1.18rem;
  letter-spacing: -.02em;
  color: var(--slate-900);
  text-decoration: none;
  flex-shrink: 0;
}
.brand:hover { color: var(--slate-900); text-decoration: none; }
.brand__mark {
  width: 46px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.brand__mark svg { width: 46px; height: auto; display: block; }
.brand__text { display: block; line-height: 1.05; }
.brand__text b { display: block; font-size: 1.28rem; font-weight: 800; letter-spacing: -.028em; color: var(--navy-800); }
.brand__text i {
  display: block; font-style: normal; font-size: .68rem; font-weight: 650;
  letter-spacing: .005em; color: var(--indigo-600); margin-top: 1px;
}
.site-footer .brand__text b { color: #fff; }
.site-footer .brand__text i { color: #7dd3fc; }
.site-footer .brand__mark { --logo-dark: #ffffff; --logo-light: #6ea8f5; }
@media (max-width: 400px) {
  .brand__mark { width: 38px; }
  .brand__mark svg { width: 38px; }
  .brand__text b { font-size: 1.12rem; }
}

.nav__links {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin: 0 auto 0 .75rem;
  padding: 0;
  list-style: none;
}
.nav__links li { margin: 0; }
.nav__links a {
  display: block;
  padding: .5rem .7rem;
  border-radius: var(--r-sm);
  color: var(--slate-600);
  font-size: .96rem;
  font-weight: 550;
  text-decoration: none;
  white-space: nowrap;
}
.nav__links a:hover { background: var(--slate-100); color: var(--slate-900); text-decoration: none; }
.nav__links a[aria-current="page"] { color: var(--indigo-700); background: var(--indigo-50); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-shrink: 0;
}

.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  cursor: pointer;
  color: var(--slate-700);
}
.nav__toggle svg { width: 22px; height: 22px; }
.nav__toggle .icon-close { display: none; }
.nav__toggle[aria-expanded="true"] .icon-open { display: none; }
.nav__toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1259px) {
  .nav__toggle { display: inline-flex; }
  .nav__panel {
    position: fixed;
    inset: var(--nav-h) 0 0;
    background: #fff;
    padding: 1.5rem 24px 3rem;
    overflow-y: auto;
    display: none;
    flex-direction: column;
    gap: 1.5rem;
  }
  .nav__panel.is-open { display: flex; }
  .nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: .15rem;
    margin: 0;
  }
  .nav__links a {
    padding: .85rem .75rem;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--slate-100);
    border-radius: 0;
  }
  .nav__actions { flex-direction: column; align-items: stretch; }
  .nav__actions .btn { width: 100%; }
}

@media (min-width: 1260px) {
  .nav__panel {
    display: contents;
  }
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(3rem, 2rem + 4.5vw, 5.5rem) 0 clamp(3rem, 2rem + 4vw, 5rem);
  background:
    radial-gradient(900px 420px at 12% -8%, var(--indigo-100) 0%, transparent 62%),
    radial-gradient(800px 400px at 92% 4%, var(--teal-50) 0%, transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--slate-50) 100%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: center;
}
@media (max-width: 940px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
}

.hero h1 { margin-bottom: .55em; }
.hero .lede { margin-bottom: 1.75rem; max-width: 44ch; }

.hero--page {
  padding: clamp(2.75rem, 2rem + 3vw, 4.25rem) 0;
}
.hero--page .lede { max-width: 62ch; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .38rem .85rem .38rem .5rem;
  margin-bottom: 1.4rem;
  background: #fff;
  border: 1px solid var(--indigo-200);
  border-radius: var(--r-full);
  font-size: .87rem;
  font-weight: 600;
  color: var(--indigo-800);
  box-shadow: var(--shadow-xs);
}
.badge__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green-600);
  box-shadow: 0 0 0 3px var(--green-50);
  flex-shrink: 0;
  margin-left: .25rem;
}

/* Dual audience path cards */
.paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 2.5rem;
}
@media (max-width: 640px) { .paths { grid-template-columns: minmax(0, 1fr); } }

.path-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.path-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--indigo-200); }
.path-card__icon {
  width: 42px; height: 42px;
  border-radius: var(--r-md);
  display: grid; place-items: center;
  margin-bottom: 1rem;
}
.path-card__icon svg { width: 21px; height: 21px; }
.path-card--worker .path-card__icon { background: var(--indigo-50); color: var(--indigo-700); }
.path-card--coord .path-card__icon { background: var(--teal-50); color: var(--teal-700); }
.path-card h3 { margin-bottom: .35rem; font-size: 1.18rem; }
.path-card p { font-size: .96rem; color: var(--text-muted); margin-bottom: 1.1rem; }
.path-card .path-card__link {
  margin-top: auto;
  font-weight: 650;
  font-size: .96rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.path-card--coord .path-card__link { color: var(--teal-700); }
.path-card__link svg { width: 15px; height: 15px; transition: transform .16s ease; }
.path-card:hover .path-card__link svg { transform: translateX(3px); }
.path-card__price {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .2rem .55rem;
  border-radius: var(--r-full);
  margin-bottom: .75rem;
}
.path-card--worker .path-card__price { background: var(--indigo-50); color: var(--indigo-700); }
.path-card--coord .path-card__price { background: var(--green-50); color: var(--green-700); }

/* --------------------------------------------------------------------------
   7. Device mockup (phone)
   -------------------------------------------------------------------------- */
.phone {
  width: min(320px, 100%);
  margin-inline: auto;
  background: var(--slate-900);
  border-radius: 38px;
  padding: 11px;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(15,23,42,.06);
}
.phone__screen {
  background: var(--slate-50);
  border-radius: 28px;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  flex-direction: column;
}
.phone__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .55rem 1.1rem .3rem;
  font-size: .72rem;
  font-weight: 650;
  color: var(--slate-500);
}
.phone__app-head {
  padding: .5rem 1.1rem 1rem;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.phone__app-head .greet { font-size: .78rem; color: var(--text-faint); margin: 0; }
.phone__app-head .day { font-size: 1.15rem; font-weight: 700; color: var(--slate-900); margin: 0; }
.phone__body {
  flex: 1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  overflow: hidden;
}
.phone__nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  background: #fff;
  padding: .5rem 0 .8rem;
}
.phone__nav span {
  text-align: center;
  font-size: .62rem;
  font-weight: 600;
  color: var(--slate-400);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
}
.phone__nav span:first-child { color: var(--indigo-600); }
.phone__nav i {
  width: 18px; height: 18px;
  border-radius: 5px;
  background: currentColor;
  opacity: .28;
  display: block;
}
.phone__nav span:first-child i { opacity: 1; }

.ui-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: .7rem .8rem;
  box-shadow: var(--shadow-xs);
}
.ui-card__label {
  font-size: .62rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--slate-400);
  margin: 0 0 .3rem;
}
.ui-card__title { font-size: .86rem; font-weight: 650; color: var(--slate-800); margin: 0 0 .15rem; }
.ui-card__meta { font-size: .74rem; color: var(--text-faint); margin: 0; }
.ui-card--accent { border-left: 3px solid var(--indigo-500); }
.ui-card--alert { border-left: 3px solid var(--amber-600); background: var(--amber-50); }

.ui-chip {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .12rem .5rem;
  border-radius: var(--r-full);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.ui-chip--done { background: var(--green-50); color: var(--green-700); }
.ui-chip--draft { background: var(--amber-50); color: var(--amber-600); }
.ui-chip--sent { background: var(--indigo-50); color: var(--indigo-700); }

.ui-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}

/* --------------------------------------------------------------------------
   8. Cards
   -------------------------------------------------------------------------- */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-xs);
  transition: box-shadow .18s ease, border-color .18s ease, transform .18s ease;
}
.card--hover:hover { box-shadow: var(--shadow-md); border-color: var(--border-strong); transform: translateY(-2px); }
.card h3 { font-size: 1.12rem; margin-bottom: .45rem; }
.card p { color: var(--text-muted); font-size: .97rem; margin-bottom: 0; }

.card__icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: var(--indigo-50);
  color: var(--indigo-700);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}
.card__icon svg { width: 21px; height: 21px; }
.card__icon--teal { background: var(--teal-50); color: var(--teal-700); }
.card__icon--green { background: var(--green-50); color: var(--green-700); }
.card__icon--amber { background: var(--amber-50); color: var(--amber-600); }

.card--flat { box-shadow: none; background: var(--slate-50); border-color: transparent; }

/* Feature list inside cards */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: .7rem;
  color: var(--text-muted);
  font-size: .98rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .28em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23047857'%3E%3Cpath fill-rule='evenodd' d='M16.7 5.3a1 1 0 010 1.4l-7.5 7.5a1 1 0 01-1.4 0L3.3 9.7a1 1 0 111.4-1.4l3.8 3.8 6.8-6.8a1 1 0 011.4 0z' clip-rule='evenodd'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.check-list li strong { color: var(--text-strong); }

.x-list { list-style: none; padding: 0; margin: 0; }
.x-list li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: .7rem;
  color: var(--text-muted);
  font-size: .98rem;
}
.x-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .28em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--slate-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2364748b'%3E%3Cpath fill-rule='evenodd' d='M5.3 5.3a1 1 0 011.4 0L10 8.6l3.3-3.3a1 1 0 111.4 1.4L11.4 10l3.3 3.3a1 1 0 01-1.4 1.4L10 11.4l-3.3 3.3a1 1 0 01-1.4-1.4L8.6 10 5.3 6.7a1 1 0 010-1.4z' clip-rule='evenodd'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* --------------------------------------------------------------------------
   9. Workflow / steps
   -------------------------------------------------------------------------- */
.flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 10px;
  counter-reset: flow;
}
.flow__step {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.1rem .75rem;
  text-align: center;
  box-shadow: var(--shadow-xs);
}
.flow__step span {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  margin: 0 auto .6rem;
  border-radius: 50%;
  background: var(--indigo-600);
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
}
.flow__step strong { display: block; font-size: .92rem; color: var(--slate-800); letter-spacing: -.01em; }
.flow__step small { display: block; margin-top: .25rem; font-size: .78rem; color: var(--text-faint); line-height: 1.4; }

/* Final step of the loop — the money lands here */
.flow__step--end {
  background: linear-gradient(165deg, var(--green-50), #fff 70%);
  border-color: #a7f3d0;
}
.flow__step--end span { background: var(--green-600); }
.flow__step--end strong { color: var(--green-700); }

.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps > li {
  position: relative;
  padding: 0 0 2.2rem 4.25rem;
  margin: 0;
  counter-increment: step;
}
.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--indigo-200);
  color: var(--indigo-700);
  font-weight: 750;
  font-size: 1.05rem;
}
.steps > li::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 52px;
  bottom: .5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--indigo-200), var(--slate-200));
}
.steps > li:last-child { padding-bottom: 0; }
.steps > li:last-child::after { display: none; }
.steps h3 { margin-bottom: .3rem; font-size: 1.16rem; }
.steps p { color: var(--text-muted); margin-bottom: 0; font-size: .99rem; }

/* --------------------------------------------------------------------------
   10. Pricing
   -------------------------------------------------------------------------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}
@media (max-width: 900px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 480px; margin-inline: auto; } }

.plan {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem 1.65rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.plan--featured {
  border-color: var(--indigo-500);
  border-width: 2px;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 901px) {
  .plan--featured { transform: scale(1.03); }
}
.plan__flag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: .3rem .9rem;
  border-radius: var(--r-full);
  background: var(--indigo-600);
  color: #fff;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.plan__name { font-size: 1.15rem; font-weight: 700; color: var(--slate-900); margin: 0 0 .2rem; }
.plan__for { font-size: .9rem; color: var(--text-faint); margin: 0 0 1.2rem; min-height: 2.6em; }
.plan__price {
  display: flex;
  align-items: baseline;
  gap: .3rem;
  margin-bottom: .35rem;
}
.plan__amount { font-size: 2.6rem; font-weight: 750; letter-spacing: -.035em; color: var(--slate-900); line-height: 1; }
.plan__period { font-size: .95rem; color: var(--text-faint); font-weight: 550; }
.plan__gst { font-size: .82rem; color: var(--text-faint); margin: 0 0 1.4rem; }
.plan .btn { width: 100%; margin-bottom: 1.5rem; }
.plan__list { list-style: none; padding: 0; margin: 0; }
.plan__list li {
  position: relative;
  padding-left: 1.65rem;
  margin-bottom: .6rem;
  font-size: .94rem;
  color: var(--text-muted);
}
.plan__list li::before {
  content: "";
  position: absolute;
  left: 0; top: .3em;
  width: 17px; height: 17px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%232563eb'%3E%3Cpath fill-rule='evenodd' d='M16.7 5.3a1 1 0 010 1.4l-7.5 7.5a1 1 0 01-1.4 0L3.3 9.7a1 1 0 111.4-1.4l3.8 3.8 6.8-6.8a1 1 0 011.4 0z' clip-rule='evenodd'/%3E%3C/svg%3E") center / contain no-repeat;
}
.plan__list li.is-off { color: var(--slate-400); }
.plan__list li.is-off::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2394a3b8'%3E%3Cpath fill-rule='evenodd' d='M5.3 5.3a1 1 0 011.4 0L10 8.6l3.3-3.3a1 1 0 111.4 1.4L11.4 10l3.3 3.3a1 1 0 01-1.4 1.4L10 11.4l-3.3 3.3a1 1 0 01-1.4-1.4L8.6 10 5.3 6.7a1 1 0 010-1.4z' clip-rule='evenodd'/%3E%3C/svg%3E");
}
.plan__list-head {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin: 0 0 .8rem;
}

/* Comparison table */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-xs);
  -webkit-overflow-scrolling: touch;
}
table.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  font-size: .95rem;
}
table.compare th, table.compare td {
  padding: .85rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--slate-100);
}
table.compare thead th {
  background: var(--slate-50);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--slate-600);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
}
table.compare tbody th {
  font-weight: 550;
  color: var(--slate-700);
}
table.compare td { text-align: center; color: var(--text-muted); }
table.compare tbody tr:last-child th,
table.compare tbody tr:last-child td { border-bottom: 0; }
table.compare tbody tr:hover { background: var(--slate-25); }
table.compare .yes { color: var(--green-700); font-weight: 700; }
table.compare .no { color: var(--slate-300); font-weight: 700; }
table.compare .group th {
  background: var(--slate-50);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--slate-500);
}

/* --------------------------------------------------------------------------
   11. FAQ (details/summary)
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--border); }
.faq details {
  border-bottom: 1px solid var(--border);
}
.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 0;
  cursor: pointer;
  font-weight: 650;
  font-size: 1.04rem;
  color: var(--slate-800);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: .15rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%232563eb'%3E%3Cpath fill-rule='evenodd' d='M10 3a1 1 0 011 1v5h5a1 1 0 110 2h-5v5a1 1 0 11-2 0v-5H4a1 1 0 110-2h5V4a1 1 0 011-1z' clip-rule='evenodd'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%232563eb'%3E%3Cpath fill-rule='evenodd' d='M3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z' clip-rule='evenodd'/%3E%3C/svg%3E");
}
.faq summary:hover { color: var(--indigo-700); }
.faq details > div {
  padding: 0 0 1.4rem;
  color: var(--text-muted);
  max-width: 68ch;
}

/* --------------------------------------------------------------------------
   12. Quote / testimonial
   -------------------------------------------------------------------------- */
.quote {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--indigo-500);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-xs);
}
.quote p {
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--slate-700);
  margin-bottom: 1.1rem;
}
.quote footer {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .92rem;
  color: var(--text-faint);
}
.quote__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--indigo-100);
  color: var(--indigo-700);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: .9rem;
  flex-shrink: 0;
}
.quote cite { font-style: normal; font-weight: 650; color: var(--slate-700); display: block; }

/* --------------------------------------------------------------------------
   13. Stat / callout strips
   -------------------------------------------------------------------------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat {
  background: #fff;
  padding: 1.5rem 1.25rem;
  text-align: center;
}
.stat b {
  display: block;
  font-size: 1.9rem;
  font-weight: 750;
  letter-spacing: -.03em;
  color: var(--indigo-700);
  line-height: 1.1;
}
.stat span { font-size: .92rem; color: var(--text-faint); }

.callout {
  background: var(--indigo-50);
  border: 1px solid var(--indigo-200);
  border-radius: var(--r-lg);
  padding: 1.4rem 1.6rem;
}
.callout p { margin-bottom: 0; color: var(--indigo-900); }
.callout--neutral { background: var(--slate-50); border-color: var(--border); }
.callout--neutral p { color: var(--text-muted); }
.callout > p[style*="min-width"] { min-width: 0 !important; }

/* --------------------------------------------------------------------------
   14. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  background:
    radial-gradient(760px 360px at 18% 0%, rgba(59,130,246,.55) 0%, transparent 62%),
    radial-gradient(700px 340px at 86% 100%, rgba(14,165,233,.35) 0%, transparent 60%),
    var(--navy-900);
  color: #fff;
  padding: clamp(3rem, 2rem + 4vw, 5rem) 0;
  overflow: hidden;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.78); font-size: 1.1rem; max-width: 58ch; margin-inline: auto; }
.cta-band .btn-note { color: rgba(255,255,255,.6); }

/* --------------------------------------------------------------------------
   15. Forms
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 1.15rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
@media (max-width: 640px) { .form__row { grid-template-columns: minmax(0, 1fr); } }

.field { display: grid; gap: .4rem; }
.field label {
  font-size: .93rem;
  font-weight: 600;
  color: var(--slate-700);
}
.field .hint { font-size: .84rem; color: var(--text-faint); }
.field .req { color: var(--red-600); }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  padding: .72rem .9rem;
  min-height: 48px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--slate-800);
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--indigo-500);
  box-shadow: 0 0 0 3px var(--indigo-100);
}
.field input::placeholder, .field textarea::placeholder { color: var(--slate-400); }

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .93rem;
  color: var(--text-muted);
}
.checkbox input { width: 18px; height: 18px; margin-top: .22rem; flex-shrink: 0; accent-color: var(--indigo-600); }

/* --------------------------------------------------------------------------
   16. Legal / long-form content
   -------------------------------------------------------------------------- */
.prose { max-width: 74ch; }
.prose h2 {
  font-size: 1.5rem;
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}
.prose h2:first-of-type { margin-top: 1.5rem; }
.prose h3 { font-size: 1.13rem; margin-top: 1.75rem; }
.prose ul, .prose ol { color: var(--text-muted); }
.prose li { margin-bottom: .5em; }
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: .94rem;
  margin: 1.25rem 0;
}
.prose th, .prose td {
  padding: .7rem .85rem;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.prose th { background: var(--slate-50); font-weight: 650; }
@media (max-width: 560px) {
  .prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

.toc {
  background: var(--slate-50);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.35rem 1.5rem;
  margin-bottom: 2.5rem;
}
.toc p { font-weight: 700; font-size: .84rem; letter-spacing: .06em; text-transform: uppercase; color: var(--slate-500); margin-bottom: .7rem; }
.toc ol { columns: 2; column-gap: 2rem; margin: 0; padding-left: 1.1rem; font-size: .95rem; }
@media (max-width: 640px) { .toc ol { columns: 1; } }

.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1rem 0;
  margin-bottom: 1.5rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
  color: var(--text-faint);
}
.doc-meta strong { color: var(--slate-700); }

.notice {
  background: var(--amber-50);
  border: 1px solid #fde68a;
  border-radius: var(--r-md);
  padding: 1rem 1.25rem;
  font-size: .93rem;
  color: #78350f;
  margin-bottom: 2rem;
}
.notice strong { color: #78350f; }

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-900);
  color: var(--slate-400);
  padding: clamp(3rem, 2rem + 3vw, 4.5rem) 0 2rem;
  font-size: .94rem;
}
.site-footer a { color: var(--slate-300); }
.site-footer a:hover { color: #fff; text-decoration: none; }

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
@media (max-width: 860px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: minmax(0, 1fr); } }

.footer__brand .brand { color: #fff; margin-bottom: .9rem; }
.footer__brand .brand:hover { color: #fff; }
.footer__brand p { max-width: 34ch; color: var(--slate-400); font-size: .93rem; }

.footer__col h4 {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 1rem;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { margin-bottom: .6rem; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.75rem;
  font-size: .88rem;
  color: var(--slate-500);
}
.footer__bottom p { margin: 0; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 1.25rem; }

.footer__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .8rem;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-full);
  font-size: .82rem;
  color: var(--slate-300);
  margin-top: 1.25rem;
}
.footer__badge svg { width: 15px; height: 15px; color: var(--teal-500); }

/* --------------------------------------------------------------------------
   18. Utilities
   -------------------------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   19. Motion & effects layer
   All animation respects prefers-reduced-motion (see base reset).
   ========================================================================== */

/* --- 19.1 Scroll reveal ------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1),
              transform .7s cubic-bezier(.16,1,.3,1);
  will-change: opacity, transform;
}
[data-reveal="left"]  { transform: translateX(-18px); }
[data-reveal="right"] { transform: translateX(18px); }
[data-reveal="scale"] { transform: scale(.955); }
[data-reveal="fade"]  { transform: none; }

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Staggered children */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .65s cubic-bezier(.16,1,.3,1),
              transform .65s cubic-bezier(.16,1,.3,1);
}
[data-stagger].is-visible > * { opacity: 1; transform: none; }
[data-stagger].is-visible > *:nth-child(1) { transition-delay: .00s; }
[data-stagger].is-visible > *:nth-child(2) { transition-delay: .07s; }
[data-stagger].is-visible > *:nth-child(3) { transition-delay: .14s; }
[data-stagger].is-visible > *:nth-child(4) { transition-delay: .21s; }
[data-stagger].is-visible > *:nth-child(5) { transition-delay: .28s; }
[data-stagger].is-visible > *:nth-child(6) { transition-delay: .35s; }
[data-stagger].is-visible > *:nth-child(7) { transition-delay: .42s; }
[data-stagger].is-visible > *:nth-child(8) { transition-delay: .49s; }
[data-stagger].is-visible > *:nth-child(9) { transition-delay: .56s; }
[data-stagger].is-visible > *:nth-child(10){ transition-delay: .63s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-stagger] > * { opacity: 1 !important; transform: none !important; }
}

/* --- 19.2 Entrance animations (above the fold, no observer needed) ------- */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes popIn {
  0%   { opacity: 0; transform: scale(.92) translateY(14px); }
  60%  { opacity: 1; transform: scale(1.012) translateY(0); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-11px); }
}
@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(24px, -18px) scale(1.06); }
  66%  { transform: translate(-16px, 14px) scale(.96); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes shimmer {
  0%   { background-position: -220% 0; }
  100% { background-position: 220% 0; }
}
@keyframes pulseRing {
  0%   { box-shadow: 0 0 0 0 rgba(5,150,105,.5); }
  70%  { box-shadow: 0 0 0 8px rgba(5,150,105,0); }
  100% { box-shadow: 0 0 0 0 rgba(5,150,105,0); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes heartBeat {
  0%, 100%   { transform: scale(1); }
  14%        { transform: scale(1.18); }
  28%        { transform: scale(1); }
  42%        { transform: scale(1.13); }
  56%        { transform: scale(1); }
}
@keyframes sweep {
  from { transform: translateX(-120%) skewX(-18deg); }
  to   { transform: translateX(320%) skewX(-18deg); }
}

.anim-rise  { animation: riseIn .8s cubic-bezier(.16,1,.3,1) both; }
.anim-fade  { animation: fadeIn .9s ease both; }
.anim-pop   { animation: popIn .75s cubic-bezier(.22,1.1,.36,1) both; }
.d-1 { animation-delay: .08s; }
.d-2 { animation-delay: .16s; }
.d-3 { animation-delay: .26s; }
.d-4 { animation-delay: .36s; }
.d-5 { animation-delay: .48s; }
.d-6 { animation-delay: .6s; }

@media (prefers-reduced-motion: reduce) {
  .anim-rise, .anim-fade, .anim-pop { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* --- 19.3 Ambient background orbs ---------------------------------------- */
.orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .5;
  animation: drift 22s ease-in-out infinite;
}
.orb--1 { width: 420px; height: 420px; top: -140px; left: -110px;
  background: radial-gradient(circle, rgba(37,99,235,.5), transparent 68%); }
.orb--2 { width: 380px; height: 380px; top: 10%; right: -130px;
  background: radial-gradient(circle, rgba(6,182,212,.42), transparent 68%);
  animation-duration: 27s; animation-delay: -6s; }
.orb--3 { width: 300px; height: 300px; bottom: -120px; left: 42%;
  background: radial-gradient(circle, rgba(96,165,250,.42), transparent 68%);
  animation-duration: 31s; animation-delay: -13s; }
.orb--dark-1 { background: radial-gradient(circle, rgba(59,130,246,.6), transparent 68%); }

.hero > .container, .cta-band > .container { position: relative; z-index: 1; }

/* Subtle grid texture */
.grid-texture::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(15,23,42,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15,23,42,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 78% 62% at 50% 0%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 78% 62% at 50% 0%, #000 25%, transparent 78%);
  pointer-events: none;
  z-index: 0;
}
.cta-band.grid-texture::before {
  background-image:
    linear-gradient(to right, rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.055) 1px, transparent 1px);
}

/* --- 19.4 Gradient / animated text --------------------------------------- */
.gradient-text {
  background: linear-gradient(100deg, var(--indigo-600) 0%, var(--indigo-500) 45%, var(--indigo-700) 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: shimmer 7s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .gradient-text { animation: none; }
}

.underline-mark {
  position: relative;
  white-space: nowrap;
}
.underline-mark::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .04em;
  height: .32em;
  background: linear-gradient(90deg, rgba(99,102,241,.28), rgba(6,182,212,.28));
  border-radius: 3px;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  animation: markIn .8s cubic-bezier(.16,1,.3,1) .55s forwards;
}
@keyframes markIn { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .underline-mark::after { transform: scaleX(1); animation: none; }
}

/* --- 19.5 Header scroll state -------------------------------------------- */
.site-header {
  transition: box-shadow .25s ease, background-color .25s ease, border-color .25s ease;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,.94);
  box-shadow: 0 4px 20px rgba(15,23,42,.06);
  border-bottom-color: transparent;
}
.site-header .nav__links a {
  position: relative;
  transition: color .18s ease, background-color .18s ease;
}
.site-header .nav__links a::after {
  content: "";
  position: absolute;
  left: .7rem; right: .7rem; bottom: .28rem;
  height: 2px;
  border-radius: 2px;
  background: var(--indigo-600);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .22s cubic-bezier(.16,1,.3,1);
}
@media (min-width: 1260px) {
  .site-header .nav__links a:hover::after,
  .site-header .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
}
@media (max-width: 1259px) {
  .site-header .nav__links a::after { display: none; }
  .nav__panel.is-open > * { animation: riseIn .4s cubic-bezier(.16,1,.3,1) both; }
  .nav__panel.is-open > *:nth-child(2) { animation-delay: .06s; }
}

/* Scroll progress bar */
.scroll-progress {
  position: absolute;
  left: 0; bottom: -1px;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--indigo-500), var(--teal-500));
  z-index: 2;
}

/* --- 19.6 Button & card micro-interactions ------------------------------- */
.btn--primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn--primary::after {
  content: "";
  position: absolute;
  top: -50%; bottom: -50%;
  left: 0;
  width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent);
  transform: translateX(-120%) skewX(-18deg);
  z-index: -1;
}
.btn--primary:hover::after { animation: sweep .75s ease forwards; }
.btn--primary:hover { transform: translateY(-2px); }
.btn--primary:active { transform: translateY(0); }
.btn--secondary:hover, .btn--on-dark:hover { transform: translateY(-2px); }

.btn svg { transition: transform .2s cubic-bezier(.16,1,.3,1); }
.btn:hover svg.arrow { transform: translateX(4px); }

.card--hover {
  position: relative;
  overflow: hidden;
}
.card--hover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, var(--indigo-50), transparent 55%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.card--hover:hover::before { opacity: 1; }
.card--hover > * { position: relative; }
.card--hover:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card--hover .card__icon { transition: transform .3s cubic-bezier(.22,1.1,.36,1), background-color .3s ease; }
.card--hover:hover .card__icon { transform: translateY(-2px) scale(1.06); }

.path-card { position: relative; overflow: hidden; }
.path-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--indigo-500), var(--teal-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.16,1,.3,1);
}
.path-card:hover::after { transform: scaleX(1); }

.plan { transition: transform .28s cubic-bezier(.16,1,.3,1), box-shadow .28s ease, border-color .28s ease; }
.plan:hover { box-shadow: var(--shadow-lg); border-color: var(--indigo-300); }
@media (min-width: 901px) {
  .plan:hover { transform: translateY(-6px); }
  .plan--featured:hover { transform: scale(1.03) translateY(-6px); }
}

.badge__dot { animation: pulseRing 2.4s ease-out infinite; }

.flow__step { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.flow__step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--indigo-200); }

.steps > li::before { transition: transform .25s ease, background-color .25s ease, color .25s ease; }
.steps > li:hover::before { transform: scale(1.08); background: var(--indigo-600); color: #fff; border-color: var(--indigo-600); }

.faq details[open] > div { animation: riseIn .4s cubic-bezier(.16,1,.3,1) both; }

.stat b { transition: transform .3s ease; }
.stat:hover b { transform: scale(1.06); }

.footer__col a, .footer__legal a {
  position: relative;
  transition: color .18s ease, padding-left .18s ease;
}
.footer__col a:hover { padding-left: 4px; }

/* --- 19.7 Phone mockup motion -------------------------------------------- */
.phone {
  animation: floaty 7s ease-in-out infinite;
  transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.phone-wrap { position: relative; perspective: 1200px; }
.phone-wrap:hover .phone { animation-play-state: paused; transform: translateY(-6px) rotateY(-4deg) rotateX(2deg); }
@media (prefers-reduced-motion: reduce) { .phone { animation: none; } }

/* Floating notification chips beside the phone */
.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .6rem .85rem;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  font-size: .82rem;
  font-weight: 600;
  color: var(--slate-700);
  white-space: nowrap;
  animation: floaty 6s ease-in-out infinite;
  z-index: 2;
}
.float-chip i {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 7px;
  flex-shrink: 0;
}
.float-chip i svg { width: 14px; height: 14px; }
.float-chip--a { top: 12%; left: -8%; animation-delay: -1.5s; }
.float-chip--b { top: 46%; right: -10%; animation-delay: -3.5s; }
.float-chip--c { bottom: 12%; left: -6%; animation-delay: -5s; }
.float-chip--green i { background: var(--green-50); color: var(--green-700); }
.float-chip--indigo i { background: var(--indigo-50); color: var(--indigo-700); }
.float-chip--teal i { background: var(--teal-50); color: var(--teal-700); }
@media (max-width: 1100px) {
  .float-chip--a { left: -2%; }
  .float-chip--b { right: -2%; }
  .float-chip--c { left: 0; }
}
@media (max-width: 640px) { .float-chip { display: none; } }
@media (prefers-reduced-motion: reduce) { .float-chip { animation: none; } }

/* --- 19.8 Counter ------------------------------------------------------- */
.counter { font-variant-numeric: tabular-nums; }

/* --- 19.9 Logo marquee -------------------------------------------------- */
.marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  gap: 3.5rem;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .95rem;
  font-weight: 650;
  color: var(--slate-400);
  white-space: nowrap;
}
.marquee__item svg { width: 18px; height: 18px; flex-shrink: 0; }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* --- 19.10 "We love NDIS" logo -------------------------------------------
   SWAP-IN SLOT. The markup is just an <img>, so replacing these two files
   swaps the logo across every page — no HTML edits:
     assets/img/we-love-ndis.svg        (for light backgrounds)
     assets/img/we-love-ndis-light.svg  (for the dark footer)
   Both currently hold an ORIGINAL SW Ally placeholder, not the official
   campaign artwork. See README.md before going live.
   ------------------------------------------------------------------------ */
.ndis-logo {
  display: inline-block;
  line-height: 0;
  transition: transform .22s cubic-bezier(.16,1,.3,1), opacity .22s ease;
}
.ndis-logo img {
  display: block;
  width: auto;
  height: 52px;
  max-width: 100%;
}
a.ndis-logo:hover { transform: translateY(-2px); opacity: .9; }
.ndis-logo--sm img { height: 42px; }
.ndis-logo--lg img { height: 66px; }
@media (max-width: 480px) {
  .ndis-logo img { height: 46px; }
  .ndis-logo--lg img { height: 54px; }
}

/* --- 19.11 Section divider wave ------------------------------------------ */
.wave-divider {
  display: block;
  width: 100%;
  height: 48px;
  color: var(--slate-50);
}
.wave-divider--white { color: #fff; }

/* --- 19.12 Tilt / spotlight cards ---------------------------------------- */
.spotlight {
  position: relative;
  overflow: hidden;
}
.spotlight::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%),
              rgba(37,99,235,.11), transparent 65%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.spotlight:hover::after { opacity: 1; }

/* --- 19.13 Segmented in-page nav ----------------------------------------- */
.seg-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .4rem;
  padding: .4rem;
  margin: 0 auto 3rem;
  width: fit-content;
  max-width: 100%;
  background: var(--slate-100);
  border-radius: var(--r-full);
}
.seg-nav a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .6rem 1.15rem;
  border-radius: var(--r-full);
  font-size: .94rem;
  font-weight: 650;
  color: var(--slate-600);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.seg-nav a:hover { color: var(--slate-900); text-decoration: none; }
.seg-nav a.is-active {
  background: #fff;
  color: var(--indigo-700);
  box-shadow: var(--shadow-sm);
}
.seg-nav a svg { width: 16px; height: 16px; }
@media (max-width: 560px) {
  .seg-nav { width: 100%; border-radius: var(--r-lg); }
  .seg-nav a { flex: 1 1 auto; justify-content: center; }
}

/* --- 19.14 Audience section banding -------------------------------------- */
.aud-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  border-radius: var(--r-lg);
  margin-bottom: 2.5rem;
}
.aud-head__icon {
  width: 46px; height: 46px;
  border-radius: var(--r-md);
  display: grid; place-items: center;
  background: #fff;
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
}
.aud-head__icon svg { width: 23px; height: 23px; }
.aud-head h2 { margin: 0; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); }
.aud-head p { margin: .15rem 0 0; font-size: .96rem; color: var(--text-muted); }
.aud-head--worker { background: var(--indigo-50); border: 1px solid var(--indigo-200); }
.aud-head--worker .aud-head__icon { color: var(--indigo-700); }
.aud-head--coord { background: var(--teal-50); border: 1px solid var(--teal-100); }
.aud-head--coord .aud-head__icon { color: var(--teal-700); }
.aud-head--platform { background: var(--slate-100); border: 1px solid var(--border); }
.aud-head--platform .aud-head__icon { color: var(--slate-700); }
.aud-head__tag {
  margin-left: auto;
  flex-shrink: 0;
  padding: .3rem .8rem;
  border-radius: var(--r-full);
  background: #fff;
  font-size: .8rem;
  font-weight: 700;
  color: var(--slate-600);
  box-shadow: var(--shadow-xs);
}
@media (max-width: 640px) {
  .aud-head { flex-wrap: wrap; }
  .aud-head__tag { margin-left: 0; }
}

/* --- 19.15 Compact feature rows ------------------------------------------ */
.feat-row {
  display: flex;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--slate-100);
}
.feat-row:last-child { border-bottom: 0; }
.feat-row__icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 9px;
  display: grid; place-items: center;
  background: var(--indigo-50);
  color: var(--indigo-700);
}
.feat-row__icon svg { width: 18px; height: 18px; }
.feat-row__icon--teal { background: var(--teal-50); color: var(--teal-700); }
.feat-row h4 { margin: 0 0 .2rem; font-size: 1rem; }
.feat-row p { margin: 0; font-size: .94rem; color: var(--text-muted); }

/* --- 19.16 Expanded audience path cards ---------------------------------- */
.paths--detailed { gap: 22px; margin-top: 3rem; }
.paths--detailed .path-card { padding: 1.9rem 1.75rem; }
.paths--detailed .path-card__head {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: 1.1rem;
}
.paths--detailed .path-card__icon { margin-bottom: 0; width: 46px; height: 46px; }
.paths--detailed .path-card__icon svg { width: 23px; height: 23px; }
.paths--detailed .path-card h3 { font-size: 1.3rem; margin: 0; }
.paths--detailed .path-card__price { margin: .2rem 0 0; }
.paths--detailed .path-card > p { font-size: 1rem; margin-bottom: 1.35rem; }

.path-card__list-head {
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin: 0 0 .9rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--slate-100);
}
.path-card .check-list { margin-bottom: 1.5rem; }
.path-card .check-list li { font-size: .95rem; margin-bottom: .6rem; }
.path-card__cta { margin-top: auto; }
.path-card__cta .btn { width: 100%; }
.path-card__foot {
  margin: .85rem 0 0;
  font-size: .85rem;
  color: var(--text-faint);
  text-align: center;
}
.path-card--coord .check-list li::before {
  background-color: var(--teal-50);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%230e7490'%3E%3Cpath fill-rule='evenodd' d='M16.7 5.3a1 1 0 010 1.4l-7.5 7.5a1 1 0 01-1.4 0L3.3 9.7a1 1 0 111.4-1.4l3.8 3.8 6.8-6.8a1 1 0 011.4 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
}
.path-card--coord::after { background: linear-gradient(90deg, var(--teal-500), var(--indigo-500)); }
@media (max-width: 640px) {
  .paths--detailed .path-card { padding: 1.5rem 1.35rem; }
}

/* --- 19.17 Footer credit -------------------------------------------------- */
.footer__bottom p { line-height: 1.7; }
.footer__bottom a { text-decoration: none; }
.footer__bottom p a {
  color: var(--slate-300);
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,.22);
  padding-bottom: 1px;
  transition: color .18s ease, border-color .18s ease;
}
.footer__bottom p a:hover { color: #fff; border-bottom-color: #fff; }
@media (max-width: 520px) { .footer__br { display: none; } }

/* ==========================================================================
   20. Colour & imagery layer — cheerful pass
   ========================================================================== */

/* --- 20.1 Extended accent palette ---------------------------------------- */
:root {
  --pink-50:   #fdf2f8;  --pink-500:  #ec4899;  --pink-600:  #db2777;
  --violet-50: #f5f3ff;  --violet-500:#8b5cf6;  --violet-600:#7c3aed;
  --orange-50: #fff7ed;  --orange-500:#f97316;  --orange-600:#ea580c;
  --sky-50:    #f0f9ff;  --sky-500:   #0ea5e9;  --sky-600:   #0284c7;
  --lime-50:   #f7fee7;  --lime-600:  #65a30d;
  --rose-50:   #fff1f2;  --rose-500:  #f43f5e;  --rose-600:  #e11d48;
}

.card__icon--pink   { background: var(--pink-50);   color: var(--pink-600); }
.card__icon--violet { background: var(--violet-50); color: var(--violet-600); }
.card__icon--orange { background: var(--orange-50); color: var(--orange-600); }
.card__icon--sky    { background: var(--sky-50);    color: var(--sky-600); }
.card__icon--rose   { background: var(--rose-50);   color: var(--rose-600); }
.card__icon--lime   { background: var(--lime-50);   color: var(--lime-600); }

/* Cheerful multi-hue section tints */
.section--sunrise {
  background: linear-gradient(160deg, #fff7ed 0%, #fdf2f8 46%, #f5f3ff 100%);
}
.section--sea {
  background: linear-gradient(160deg, #ecfeff 0%, #f0fdf4 55%, #f0f9ff 100%);
}
.section--dawn {
  background: linear-gradient(160deg, #eef2ff 0%, #faf5ff 50%, #fff7ed 100%);
}

/* --- 20.2 Photo frames ---------------------------------------------------
   Photo slots. Files live in assets/img/photos/ and currently hold ORIGINAL
   illustrated placeholders. Drop licensed stock photography in at the same
   filenames and everything below still works.
   ------------------------------------------------------------------------ */
.photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  background: var(--slate-100);
  line-height: 0;
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.16,1,.3,1);
}
.photo:hover img { transform: scale(1.035); }
.photo--tall { aspect-ratio: 4 / 5; }
.photo--wide { aspect-ratio: 16 / 9; }
.photo--square { aspect-ratio: 1 / 1; }
.photo--tilt { transform: rotate(-1.4deg); }
.photo--tilt-r { transform: rotate(1.4deg); }

/* Floating stat pinned to a photo */
.photo-stat {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .75rem 1rem;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  line-height: 1.35;
  animation: floaty 7s ease-in-out infinite;
}
.photo-stat i {
  width: 34px; height: 34px;
  border-radius: 9px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.photo-stat i svg { width: 17px; height: 17px; }
.photo-stat b { display: block; font-size: .95rem; color: var(--slate-900); }
.photo-stat span { font-size: .78rem; color: var(--text-faint); }
.photo-stat--bl { left: -14px; bottom: 22px; }
.photo-stat--tr { right: -14px; top: 26px; animation-delay: -3s; }
@media (max-width: 520px) {
  .photo-stat--bl { left: 8px; bottom: 10px; }
  .photo-stat--tr { right: 8px; top: 10px; }
  .photo-stat { padding: .55rem .75rem; }
  .photo-stat b { font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) { .photo-stat { animation: none; } }

/* --- 20.3 "Why they love it" reason cards -------------------------------- */
.why {
  position: relative;
  overflow: hidden;
}
.why__head { max-width: 640px; }
.why__head h2 { margin-bottom: .6rem; }
.why__head p { color: var(--text-muted); font-size: 1.08rem; }

.reasons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 2rem;
}
@media (max-width: 560px) { .reasons { grid-template-columns: minmax(0, 1fr); } }

.reason {
  position: relative;
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
  transition: transform .22s cubic-bezier(.16,1,.3,1), box-shadow .22s ease, border-color .22s ease;
}
.reason:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.reason__icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  transition: transform .25s cubic-bezier(.22,1.1,.36,1);
}
.reason:hover .reason__icon { transform: rotate(-6deg) scale(1.08); }
.reason__icon svg { width: 21px; height: 21px; }
.reason h3 { font-size: 1.02rem; margin: 0 0 .25rem; }
.reason p { font-size: .93rem; color: var(--text-muted); margin: 0; }

/* Colour rotation so a grid of reasons reads as cheerful, not corporate */
.reason:nth-child(6n+1) .reason__icon { background: var(--indigo-50);  color: var(--indigo-600); }
.reason:nth-child(6n+1):hover { border-color: var(--indigo-300); }
.reason:nth-child(6n+2) .reason__icon { background: var(--teal-50);    color: var(--teal-700); }
.reason:nth-child(6n+2):hover { border-color: #67e8f9; }
.reason:nth-child(6n+3) .reason__icon { background: var(--orange-50);  color: var(--orange-600); }
.reason:nth-child(6n+3):hover { border-color: #fdba74; }
.reason:nth-child(6n+4) .reason__icon { background: var(--green-50);   color: var(--green-700); }
.reason:nth-child(6n+4):hover { border-color: #6ee7b7; }
.reason:nth-child(6n+5) .reason__icon { background: var(--violet-50);  color: var(--violet-600); }
.reason:nth-child(6n+5):hover { border-color: #c4b5fd; }
.reason:nth-child(6n+6) .reason__icon { background: var(--rose-50);    color: var(--rose-600); }
.reason:nth-child(6n+6):hover { border-color: #fda4af; }

/* --- 20.4 Pull quote inside a why band ----------------------------------- */
.why-quote {
  margin-top: 1.75rem;
  padding: 1.35rem 1.5rem;
  background: #fff;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.why-quote p {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--slate-700);
  margin: 0 0 .75rem;
}
.why-quote footer {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .88rem;
  color: var(--text-faint);
}
.why-quote .quote__avatar { width: 34px; height: 34px; font-size: .82rem; }
.why-quote--worker .quote__avatar { background: var(--indigo-100); color: var(--indigo-700); }
.why-quote--coord .quote__avatar { background: var(--teal-100); color: var(--teal-700); }

/* --- 20.5 Colourful eyebrow chips ---------------------------------------- */
.eyebrow--chip {
  padding: .32rem .8rem;
  border-radius: var(--r-full);
  background: var(--indigo-50);
  letter-spacing: .06em;
}
.eyebrow--chip.is-teal { background: var(--teal-50); color: var(--teal-700); }
.eyebrow--chip.is-orange { background: var(--orange-50); color: var(--orange-600); }

/* --- 20.6 Why-section layout --------------------------------------------- */
.why__top { margin-bottom: 3rem; }
.reasons--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
}
@media (max-width: 980px) { .reasons--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .reasons--3 { grid-template-columns: minmax(0, 1fr); } }

.why-quote { margin-top: 1.75rem; }
.why-quote cite,
.quote cite { display: block; font-style: normal; font-weight: 650; color: var(--slate-700); }
.why-quote footer span:last-child { line-height: 1.4; }
.why-quote footer cite { font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; color: var(--text-faint); font-weight: 700; }

.why .photo--wide { aspect-ratio: 16 / 11; }

/* ==========================================================================
   21. Brand refresh — logo lockup, mega menu, footer, reference homepage
   ========================================================================== */

/* --- 21.1 Nav mega menu --------------------------------------------------- */
.nav__links .has-menu { position: relative; }
.nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .5rem .7rem;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: .96rem;
  font-weight: 550;
  color: var(--slate-600);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: color .18s ease, background-color .18s ease;
}
.nav__trigger svg { width: 15px; height: 15px; transition: transform .22s ease; }
.nav__trigger:hover { color: var(--navy-800); background: var(--slate-100); }
.nav__trigger[aria-expanded="true"] { color: var(--indigo-700); }
.nav__trigger[aria-expanded="true"] svg { transform: rotate(180deg); }

.megamenu {
  display: none;
  gap: 4px;
}
.megamenu a {
  display: block;
  padding: .7rem .85rem;
  border-radius: var(--r-md);
  text-decoration: none;
  transition: background-color .18s ease;
}
.megamenu a:hover { background: var(--indigo-50); text-decoration: none; }
.megamenu b { display: block; font-size: .95rem; color: var(--navy-800); font-weight: 650; }
.megamenu span { display: block; font-size: .84rem; color: var(--text-muted); line-height: 1.4; }

@media (min-width: 1260px) {
  .megamenu {
    position: absolute;
    top: calc(100% + 10px);
    left: -12px;
    width: 560px;
    grid-template-columns: 1fr 1fr;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-xl);
    z-index: 40;
  }
  .megamenu.is-open { display: grid; animation: riseIn .22s cubic-bezier(.16,1,.3,1) both; }
}
@media (max-width: 1259px) {
  .nav__trigger { width: 100%; justify-content: space-between; padding: .85rem .75rem; font-size: 1.05rem; border-bottom: 1px solid var(--slate-100); border-radius: 0; }
  .megamenu { padding: .25rem 0 .75rem .75rem; }
  .megamenu.is-open { display: block; }
  .megamenu a { padding: .6rem .5rem; }
}

/* --- 21.2 Footer --------------------------------------------------------- */
.footer__grid { grid-template-columns: 1.7fr repeat(4, 1fr); }
@media (max-width: 1020px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (max-width: 720px)  { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px)  { .footer__grid { grid-template-columns: minmax(0,1fr); } }
.footer__ndis { margin-top: 1.5rem; }

.social { display: flex; gap: .6rem; margin-top: 1.35rem; }
.social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  color: var(--slate-300);
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.social a:hover { background: var(--indigo-600); color: #fff; transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; }

/* --- 21.3 Reference hero -------------------------------------------------- */
.hero--brand {
  padding-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  background:
    radial-gradient(820px 420px at 78% 8%, #dbeafe 0%, transparent 62%),
    linear-gradient(180deg, #f4f9ff 0%, #eaf3ff 100%);
  border-bottom: 0;
}
.hero--brand .hero__grid { align-items: center; gap: clamp(1.5rem, .5rem + 2vw, 2.5rem); grid-template-columns: 1fr 1.12fr; }
/* the brand hero rule is more specific than the base .hero__grid rule,
   so it has to collapse itself */
@media (max-width: 940px) {
  .hero--brand .hero__grid { grid-template-columns: minmax(0, 1fr); }
}
.hero--brand h1 {
  font-size: clamp(2.3rem, 1.5rem + 3vw, 3.5rem);
  line-height: 1.12;
  color: var(--navy-800);
  margin-bottom: .55em;
}
.hero--brand h1 .accent { color: var(--indigo-600); display: block; }
.hero--brand .lede { max-width: 46ch; color: var(--slate-600); }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  margin-top: 1.85rem;
}
.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .93rem;
  font-weight: 600;
  color: var(--navy-800);
}
.trust-row svg { width: 19px; height: 19px; color: var(--indigo-600); flex-shrink: 0; }

/* app composite: phone overlapping a dashboard panel */
.appshot { position: relative; padding: 1.5rem 0 2rem; min-height: 470px; }
.appshot__panel {
  position: relative;
  margin-left: 68px;
  background: #fff;
  border: 1px solid #e4edfa;
  border-radius: var(--r-lg);
  box-shadow: 0 22px 50px rgba(12,35,64,.13);
  /* left padding clears the overlapping phone */
  padding: 1.15rem 1.25rem 1.25rem 152px;
}
.appshot__phone {
  position: absolute;
  left: 0; top: 0;
  width: 200px;
  z-index: 2;
}
.appshot__phone .phone { width: 100%; padding: 8px; border-radius: 30px; animation: floaty 8s ease-in-out infinite; }
.appshot__phone .phone__screen { min-height: 0; border-radius: 23px; }
.appshot__phone .phone__body { padding: .6rem; gap: .45rem; }
.appshot__phone .phone__app-head { padding: .35rem .8rem .7rem; }
.appshot__phone .phone__app-head .day { font-size: 1rem; }
.appshot__phone .ui-card { padding: .5rem .55rem; }
.appshot__phone .ui-card__title { font-size: .74rem; }
.appshot__phone .ui-card__meta { font-size: .64rem; }
.appshot__phone .ui-chip { font-size: .56rem; padding: .1rem .38rem; }
.appshot__phone .phone__nav { padding: .4rem 0 .6rem; }
.appshot__phone .phone__nav span { font-size: .54rem; }
.appshot__phone .phone__nav i { width: 14px; height: 14px; }
@media (max-width: 1100px) {
  .appshot__panel { margin-left: 52px; padding-left: 136px; }
  .appshot__phone { width: 180px; }
}
@media (max-width: 940px) {
  .appshot { max-width: 680px; margin-inline: auto; }
  .appshot__panel { margin-left: 68px; padding-left: 152px; }
  .appshot__phone { width: 200px; }
}
@media (max-width: 700px) {
  .appshot { min-height: 0; padding-top: 0; }
  .appshot__phone { position: static; width: 100%; max-width: 250px; margin: 0 auto 1.5rem; }
  .appshot__panel { margin-left: 0; padding: 1.15rem 1.25rem 1.25rem; }
}

.kpi-row { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 6px; margin-bottom: 1rem; }
.kpi {
  border-radius: var(--r-md);
  padding: .65rem .5rem;
  text-align: center;
}
.kpi b { display: block; font-size: 1.15rem; font-weight: 750; line-height: 1.1; letter-spacing: -.02em; }
.kpi span { font-size: .64rem; color: var(--text-faint); line-height: 1.25; display: block; }
.kpi--blue  { background: var(--indigo-50); }   .kpi--blue b  { color: var(--indigo-700); }
.kpi--green { background: var(--green-50); }    .kpi--green b { color: var(--green-700); }
.kpi--amber { background: var(--amber-50); }    .kpi--amber b { color: var(--amber-600); }
.kpi--red   { background: var(--red-50); }      .kpi--red b   { color: var(--red-600); }

.evt {
  display: flex; align-items: center; gap: .7rem;
  padding: .6rem 0;
  border-top: 1px solid var(--slate-100);
}
.evt i {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--indigo-50); color: var(--indigo-700);
  display: grid; place-items: center; flex-shrink: 0;
}
.evt i svg { width: 15px; height: 15px; }
.evt b { display: block; font-size: .82rem; color: var(--navy-800); font-weight: 650; }
.evt span { display: block; font-size: .72rem; color: var(--text-faint); }
.evt em { margin-left: auto; font-style: normal; font-size: .72rem; color: var(--text-faint); text-align: right; flex-shrink: 0; }

/* --- 21.4 Six-up feature row --------------------------------------------- */
.sixup {
  display: grid;
  grid-template-columns: repeat(6, minmax(0,1fr));
  gap: 18px;
}
@media (max-width: 1040px) { .sixup { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 560px)  { .sixup { grid-template-columns: repeat(2, minmax(0,1fr)); } }

.sixup__item { text-align: center; }
.sixup__item i {
  width: 62px; height: 62px;
  margin: 0 auto 1rem;
  border-radius: 16px;
  background: var(--indigo-50);
  color: var(--indigo-600);
  display: grid; place-items: center;
  transition: transform .25s cubic-bezier(.22,1.1,.36,1), background-color .25s ease, box-shadow .25s ease;
}
.sixup__item i svg { width: 27px; height: 27px; }
.sixup__item:hover i { transform: translateY(-4px); background: var(--indigo-600); color: #fff; box-shadow: 0 10px 22px rgba(37,99,235,.28); }
.sixup__item h3 { font-size: 1rem; margin-bottom: .3rem; color: var(--navy-800); }
.sixup__item p { font-size: .87rem; color: var(--text-muted); margin: 0; line-height: 1.5; }

/* --- 21.5 Audience cards -------------------------------------------------- */
.aud3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
@media (max-width: 900px) { .aud3 { grid-template-columns: minmax(0,1fr); max-width: 520px; margin-inline: auto; } }

.aud3__card {
  padding: 1.6rem;
  border-radius: var(--r-lg);
  border: 1px solid transparent;
  transition: transform .22s cubic-bezier(.16,1,.3,1), box-shadow .22s ease;
}
.aud3__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.aud3__card i {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; margin-bottom: 1rem;
}
.aud3__card i svg { width: 23px; height: 23px; }
.aud3__card h3 { font-size: 1.1rem; margin-bottom: .4rem; color: var(--navy-800); }
.aud3__card p { font-size: .94rem; color: var(--text-muted); margin-bottom: 1rem; }
.aud3__card a { font-weight: 650; font-size: .93rem; display: inline-flex; align-items: center; gap: .35rem; }
.aud3__card a svg { width: 15px; height: 15px; transition: transform .18s ease; }
.aud3__card a:hover svg { transform: translateX(3px); }

.aud3__card--blue   { background: #eff6ff; border-color: #dbeafe; }
.aud3__card--blue i { background: var(--indigo-600); }
.aud3__card--green  { background: #ecfdf5; border-color: #d1fae5; }
.aud3__card--green i{ background: var(--green-600); }
.aud3__card--green a{ color: var(--green-700); }
.aud3__card--purple { background: #f5f3ff; border-color: #ede9fe; }
.aud3__card--purple i{ background: var(--violet-600); }
.aud3__card--purple a{ color: var(--violet-600); }

.aud3__soon {
  display: inline-block;
  margin-left: .5rem;
  padding: .12rem .5rem;
  border-radius: var(--r-full);
  background: rgba(255,255,255,.85);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--violet-600);
  vertical-align: middle;
}

/* --- 21.6 Why-choose block ------------------------------------------------ */
.choose__list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.choose__list li {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--slate-700);
}
.choose__list svg { width: 22px; height: 22px; color: var(--indigo-600); flex-shrink: 0; margin-top: .1rem; }

.testimonial-float {
  position: absolute;
  right: -18px;
  bottom: 22px;
  width: min(300px, 78%);
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl);
  padding: 1.25rem 1.35rem;
  z-index: 2;
}
.testimonial-float .mark { font-size: 2rem; line-height: .6; color: var(--indigo-300); display: block; margin-bottom: .5rem; }
.testimonial-float p { font-size: .95rem; line-height: 1.5; color: var(--slate-700); margin-bottom: .7rem; }
.testimonial-float cite { font-style: normal; font-size: .85rem; color: var(--text-faint); font-weight: 600; }
@media (max-width: 700px) {
  .testimonial-float { position: static; width: auto; margin-top: -2rem; margin-inline: 1rem; }
}

/* --- 21.7 Blue CTA strip -------------------------------------------------- */
.cta-strip {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1.9rem 2.2rem;
  border-radius: var(--r-xl);
  background: linear-gradient(115deg, var(--indigo-700) 0%, var(--indigo-600) 55%, #1a6fe0 100%);
  box-shadow: 0 18px 40px rgba(29,78,216,.25);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-strip::after {
  content: "";
  position: absolute;
  right: -60px; top: -80px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  pointer-events: none;
}
.cta-strip__icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: rgba(255,255,255,.16);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.cta-strip__icon svg { width: 27px; height: 27px; color: #fff; }
.cta-strip__text { flex: 1 1 300px; position: relative; }
.cta-strip h2 { color: #fff; font-size: clamp(1.25rem, 1.05rem + .8vw, 1.65rem); margin: 0 0 .25rem; }
.cta-strip p { color: rgba(255,255,255,.85); margin: 0; font-size: .97rem; }
.cta-strip .btn-row { position: relative; flex-shrink: 0; }

/* --- 21.8 Desktop nav density ------------------------------------------- */
@media (min-width: 1260px) and (max-width: 1420px) {
  .nav { gap: .85rem; }
  .nav__links a, .nav__trigger { padding-inline: .48rem; font-size: .92rem; }
  .nav__links a::after { left: .48rem; right: .48rem; }
  .nav__actions { gap: .4rem; }
  .nav__actions .btn { padding-inline: .8rem; }
}

/* --- 21.9 Why-choose media -------------------------------------------- */
.choose-media .photo { aspect-ratio: 4 / 3; }
.choose-media .testimonial-float {
  right: -20px;
  bottom: -26px;
  width: min(272px, 66%);
  padding: 1.1rem 1.2rem;
}
.choose-media .testimonial-float p { font-size: .91rem; margin-bottom: .55rem; }
.choose-media .testimonial-float cite { font-size: .78rem; }
@media (max-width: 700px) {
  .choose-media .testimonial-float { position: static; width: auto; margin: -1.5rem 1rem 0; }
}

/* --- 21.10 Four-up audience cards ---------------------------------------- */
.aud3--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1040px) { .aud3--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; } }
@media (max-width: 560px)  { .aud3--4 { grid-template-columns: minmax(0, 1fr); max-width: 480px; margin-inline: auto; } }

/* --- 21.11 Compact pricing pointer --------------------------------------- */
.price-pointer {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 2rem 2.25rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
}
.price-pointer__text { flex: 1 1 360px; }
.price-pointer__text h2 { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.9rem); margin-bottom: .4rem; }
.price-pointer__text p { margin: 0; color: var(--text-muted); }
.price-pointer__cta { display: flex; gap: .75rem; flex-wrap: wrap; flex-shrink: 0; }
@media (max-width: 620px) {
  .price-pointer { padding: 1.5rem 1.35rem; }
  .price-pointer__cta { width: 100%; }
  .price-pointer__cta .btn { flex: 1 1 auto; }
}

/* --- 21.12 Brand hero, centred page variant ------------------------------ */
.hero--brand.hero--page { padding-block: clamp(2.75rem, 2rem + 3vw, 4.5rem); }
.hero--brand.hero--page h1 { margin-inline: auto; max-width: 20ch; }
.hero--brand.hero--page .lede { max-width: 62ch; }
.hero--brand.hero--page .badge { margin-bottom: 1.5rem; }
