:root {
  --teal: #014C61;
  --teal-dark: #013A4A;
  --teal-soft: #E1EEF2;
  --purple: #7E22CE;
  --purple-dark: #6B1BB0;
  --lavender: #E9D5FF;
  --lavender-soft: #F3E8FF;
  --bg: #F9F7F3;
  --ink: #334155;
  --ink-strong: #1E293B;
  --muted: #475569;
  --line: #E2DDD3;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(30, 42, 40, 0.06);
  --shadow: 0 12px 32px rgba(30, 42, 40, 0.10);
  --shadow-lg: 0 24px 56px rgba(1, 76, 97, 0.16);
  --gutter: clamp(16px, 5.5vw, 80px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: 'Figtree', 'Segoe UI', system-ui, sans-serif; font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { margin: 0; color: var(--ink-strong); line-height: 1.1; }
h1 { font-size: clamp(42px, 6vw, 72px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; }
h2 { font-size: clamp(32px, 4.2vw, 52px); font-weight: 800; letter-spacing: -0.025em; }
h3 { font-size: 21px; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hidden { position: absolute; left: -9999px; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--teal); color: var(--white); padding: 12px 18px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 16px; color: var(--white); }

/* Placeholder text still to be filled in */
.todo { background: #FEF3C7; color: #78350F; padding: 0 4px; border-radius: 4px; }

.container { width: 100%; max-width: 1360px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--purple); margin-bottom: 12px; }
.eyebrow-light { color: var(--lavender); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px;
  padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none;
  border: 1.5px solid transparent; font-family: inherit; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease), color .2s;
}
.btn-lg { min-height: 58px; padding: 0 32px; font-size: 18px; }
.btn-primary { background: var(--teal); color: var(--white); box-shadow: 0 6px 18px rgba(1, 76, 97, .22); }
.btn-primary:hover { background: var(--teal-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(1, 76, 97, .28); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--white); color: var(--ink-strong); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(249, 247, 243, .9); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink-strong); }
.brand img { width: 44px; height: 44px; }
.brand span { font-size: 23px; font-weight: 800; white-space: nowrap; letter-spacing: -0.01em; }
.brand:hover { color: var(--ink-strong); }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.main-nav a { display: block; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 16px; padding: 10px 14px; border-radius: 999px; transition: background-color .2s, color .2s; }
.main-nav a:hover, .main-nav a.current { background: var(--white); color: var(--teal); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { font-weight: 600; text-decoration: none; white-space: nowrap; }
.ref-count { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--lavender); color: var(--purple-dark); font-size: 13px; font-weight: 700; }
.ref-count[hidden] { display: none; }
.ref-count.bump { animation: bump .4s var(--ease); }
@keyframes bump { 50% { transform: scale(1.35); } }
.menu-toggle { display: none; width: 48px; height: 48px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.mobile-only { display: none; }
@media (max-width: 1140px) { .header-phone { display: none; } }
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px; box-shadow: var(--shadow); }
  .main-nav.open { display: block; animation: drop .25s var(--ease); }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { padding: 14px 4px; font-size: 19px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .main-nav a:hover { background: transparent; }
  .main-nav .mobile-only { display: block; }
  .main-nav .mobile-cta { margin-top: 18px; }
  .main-nav .mobile-cta .btn { display: flex; width: 100%; color: var(--white); border-bottom: 0; border-radius: 999px; padding: 0 28px; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

/* Hero */
.hero-wrap { position: relative; padding-bottom: 72px; }
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; padding-top: 40px; padding-bottom: 56px; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; }
.pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; font-size: 15px; font-weight: 600; box-shadow: var(--shadow-sm); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #16A34A; box-shadow: 0 0 0 4px rgba(22, 163, 74, .16); }
.hl { color: var(--teal); background-image: linear-gradient(var(--lavender), var(--lavender)); background-repeat: no-repeat; background-size: 100% 28%; background-position: 0 88%; }
.lead { font-size: 20px; line-height: 1.55; color: var(--muted); max-width: 580px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-finder { padding-top: 22px; border-top: 1px solid var(--line); }
.finder-label { font-weight: 700; font-size: 15px; margin-bottom: 12px; color: var(--ink-strong); }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--white); border: 1.5px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; transition: all .2s var(--ease); }
.hero-chip:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.hero-visual { position: relative; }
.hero-blob { position: absolute; inset: -6% -10% auto auto; width: 80%; aspect-ratio: 1; border-radius: 50%; background: var(--lavender-soft); z-index: -1; }
.hero-photo { aspect-ratio: 5 / 6; max-height: 620px; width: 100%; border-radius: 40px 40px 40px 120px; background: var(--lavender); display: flex; align-items: center; justify-content: center; padding: 48px; text-align: center; color: #5B6577; font-size: 16px; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo.has-photo { padding: 0; }
.float-card { position: absolute; background: var(--white); border-radius: 20px; padding: 16px 20px; display: flex; gap: 14px; align-items: center; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); animation: float 6s ease-in-out infinite; }
.float-card:hover { color: var(--ink); }
.float-card strong { display: block; font-size: 16px; color: var(--ink-strong); }
.float-card small { font-size: 14px; color: #5B6577; }
.float-a { left: -36px; bottom: 56px; }
.float-b { right: -20px; top: 48px; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-10px); } }
.icon-circle { width: 46px; height: 46px; flex: none; border-radius: 999px; background: var(--teal-soft); color: var(--teal); display: flex; align-items: center; justify-content: center; }
.icon-purple { background: var(--lavender-soft); color: var(--purple); }

.trust { list-style: none; margin: 0; padding: 22px 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 24px; background: var(--white); border-radius: 24px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.trust li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: var(--ink); }
.trust svg { color: var(--purple); flex: none; }

@media (max-width: 1000px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 48px; padding-top: 20px; padding-bottom: 40px; }
  .hero-photo { aspect-ratio: 4 / 3; border-radius: 32px 32px 32px 80px; }
  .float-a { left: 12px; bottom: -28px; }
  .float-b { right: 12px; top: -20px; }
}
@media (max-width: 900px) { .hero-blob { inset: -6% -4% auto auto; } }
@media (max-width: 560px) {
  .trust { grid-template-columns: 1fr; }
  .float-b { display: none; }
  .btn-row .btn { flex: 1 1 100%; }
}

/* Sections */
.section { padding-top: 104px; padding-bottom: 104px; }
.section-white { background: var(--white); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: 44px; }
.section-head h2 { max-width: 640px; }
.section-head > p { font-size: 18px; color: var(--muted); max-width: 460px; }
@media (max-width: 700px) { .section { padding-top: 72px; padding-bottom: 72px; } }

/* Service explorer */
.explorer { display: flex; flex-direction: column; gap: 18px; margin-bottom: 28px; }
.explorer-bar { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.search { flex: 1 1 320px; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 20px; border-radius: 999px; background: var(--bg); border: 1.5px solid var(--line); color: var(--muted); transition: border-color .2s, box-shadow .2s; }
.search:focus-within { border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 17px; color: var(--ink-strong); outline: none; height: 52px; }
.seg { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--bg); border: 1.5px solid var(--line); overflow-x: auto; max-width: 100%; }
.seg-btn { border: 0; background: transparent; font: inherit; font-weight: 600; font-size: 15px; color: var(--ink); min-height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer; white-space: nowrap; transition: background-color .2s, color .2s; }
.seg-btn span { font-size: 13px; color: var(--muted); margin-left: 4px; }
.seg-btn[aria-pressed="true"] { background: var(--teal); color: var(--white); }
.seg-btn[aria-pressed="true"] span { color: var(--teal-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--line); background: var(--white); font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); min-height: 42px; padding: 0 16px; border-radius: 999px; cursor: pointer; transition: all .2s var(--ease); }
.chip:hover { border-color: var(--purple); color: var(--purple); }
.chip[aria-pressed="true"] { background: var(--lavender-soft); border-color: var(--purple); color: var(--purple-dark); }
.result-count { font-size: 15px; color: var(--muted); font-weight: 500; }

.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
@media (max-width: 1080px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } }
.svc { background: var(--bg); border: 1.5px solid transparent; border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 12px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s, background-color .25s; }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); background: var(--white); border-color: var(--line); }
.svc.open { background: var(--white); border-color: var(--teal-soft); box-shadow: var(--shadow); }
.svc.added { border-color: var(--purple); }
.svc[hidden] { display: none; }
.svc.flash { animation: flash 1.4s var(--ease); }
@keyframes flash { 0%, 100% { box-shadow: var(--shadow); } 30% { box-shadow: 0 0 0 6px var(--lavender); } }
.svc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.svc-icon { width: 56px; height: 56px; border-radius: 18px; background: var(--white); color: var(--teal); display: flex; align-items: center; justify-content: center; flex: none; box-shadow: var(--shadow-sm); transition: background-color .25s, color .25s; }
.svc:hover .svc-icon, .svc.open .svc-icon { background: var(--teal); color: var(--white); }
.cat-tag { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
.cat-core { background: var(--teal-soft); color: var(--teal); }
.cat-capacity { background: var(--lavender-soft); color: var(--purple-dark); }
.cat-capital { background: #FEF3E2; color: #92400E; }
.svc > p { color: var(--muted); font-size: 16px; }
.svc-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.svc-more > * { overflow: hidden; }
.svc.open .svc-more { grid-template-rows: 1fr; }
.svc-more-inner { min-height: 0; overflow: hidden; }
.svc:not(.open) .svc-more-inner { visibility: hidden; }
html:not(.js) .svc-more { grid-template-rows: 1fr; }
html:not(.js) .svc-more-inner { visibility: visible; }
html:not(.js) .svc-actions { display: none; }
.svc-label { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-strong); padding-top: 8px; }
.ticks { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-direction: column; gap: 8px; }
.ticks li { position: relative; padding-left: 28px; font-size: 15.5px; color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23014C61' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.svc-goals { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 14px; }
.tag-soft { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--bg); color: var(--muted); font-weight: 600; }
.svc-actions { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; flex-wrap: wrap; }
.link-btn { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; font: inherit; font-weight: 700; font-size: 15px; color: var(--teal); cursor: pointer; min-height: 44px; padding: 0 2px; }
.link-btn svg { transition: transform .3s var(--ease); }
.link-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.link-btn .when-open, .link-btn[aria-expanded="true"] .when-closed { display: none; }
.link-btn[aria-expanded="true"] .when-open { display: inline; }
.add-btn { border: 1.5px solid var(--line); background: var(--white); font: inherit; font-size: 14px; font-weight: 700; color: var(--ink); min-height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer; transition: all .2s var(--ease); }
.add-btn:hover { border-color: var(--purple); color: var(--purple); }
.add-btn .when-on, .add-btn[aria-pressed="true"] .when-off { display: none; }
.add-btn[aria-pressed="true"] { background: var(--purple); border-color: var(--purple); color: var(--white); }
.add-btn[aria-pressed="true"] .when-on { display: inline; }
.empty { text-align: center; padding: 48px 24px; background: var(--bg); border-radius: 28px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.empty[hidden] { display: none; }

/* Funding */
.funding { background: var(--purple); color: var(--white); border-radius: 40px; padding: clamp(28px, 5vw, 72px); display: flex; flex-direction: column; gap: 32px; position: relative; overflow: hidden; }
.funding::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; right: -140px; top: -160px; background: rgba(255, 255, 255, .07); pointer-events: none; }
.funding h2, .funding h3 { color: var(--white); }
.funding-head { max-width: 760px; display: flex; flex-direction: column; gap: 14px; }
.funding-head > p { color: var(--lavender-soft); font-size: 18px; }
.tabs { display: flex; gap: 6px; padding: 6px; background: rgba(0, 0, 0, .16); border-radius: 999px; align-self: flex-start; max-width: 100%; overflow-x: auto; }
.tabs button { border: 0; background: transparent; color: var(--white); font: inherit; font-weight: 600; font-size: 16px; min-height: 46px; padding: 0 22px; border-radius: 999px; cursor: pointer; white-space: nowrap; transition: background-color .2s, color .2s; }
.tabs button:hover { background: rgba(255, 255, 255, .12); }
.tabs button[aria-selected="true"] { background: var(--white); color: var(--purple-dark); }
.tabs button:focus-visible { outline-color: var(--white); }
.tab-panel { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; animation: fade .35s var(--ease); }
.tab-panel[hidden] { display: none; }
.tab-panel h3 { font-size: 28px; margin-bottom: 12px; }
.tab-panel p { color: var(--lavender-soft); font-size: 17px; }
.tab-panel:focus-visible { outline-color: var(--white); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
.fund-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.fund-list a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: var(--white); text-decoration: none; font-weight: 600; font-size: 15px; border: 1px solid rgba(255, 255, 255, .2); transition: background-color .2s, color .2s; }
.fund-list a:hover { background: var(--white); color: var(--purple-dark); }
.fund-list a:focus-visible { outline-color: var(--white); }
.manage-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .2); }
.manage-row div { display: flex; flex-direction: column; gap: 4px; }
.manage-row span { color: var(--lavender-soft); font-size: 16px; }
@media (max-width: 800px) {
  .tab-panel { grid-template-columns: 1fr; gap: 24px; }
  .manage-row { grid-template-columns: 1fr; }
  .funding { border-radius: 28px; }
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px; background: var(--bg); border-radius: 28px; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 52px; right: -24px; width: 24px; height: 2px; background: var(--lavender); }
.step-num { width: 48px; height: 48px; border-radius: 16px; background: var(--purple); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; }
.steps p { color: var(--muted); font-size: 16px; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .steps li::after { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Values */
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.value { background: var(--white); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--line); }
.value .svc-icon { background: var(--lavender-soft); color: var(--purple); box-shadow: none; }
.value p { color: var(--muted); font-size: 16px; }
@media (max-width: 1000px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-head { flex-direction: column; align-items: flex-start; position: sticky; top: 120px; }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; gap: 0; } .faq-head { position: static; } }
.faqs { display: flex; flex-direction: column; gap: 12px; }
.faq { background: var(--bg); border-radius: 22px; border: 1.5px solid transparent; transition: border-color .2s, background-color .2s; }
.faq[open] { background: var(--white); border-color: var(--line); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px; cursor: pointer; font-weight: 700; font-size: 18px; color: var(--ink-strong); border-radius: 22px; }
.faq summary::-webkit-details-marker { display: none; }
.faq-icon { width: 32px; height: 32px; border-radius: 50%; background: var(--white); flex: none; position: relative; transition: transform .3s var(--ease), background-color .2s; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--teal); transform: translate(-50%, -50%); border-radius: 2px; }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq[open] .faq-icon { transform: rotate(45deg); background: var(--teal-soft); }
.faq-body { padding: 0 24px 22px; color: var(--muted); }

/* Referral */
.referral { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.referral-intro { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 120px; }
.referral-intro > p { font-size: 18px; color: var(--muted); }
.contact-list { list-style: none; margin: 0; padding: 12px 0 0; display: flex; flex-direction: column; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list li > span:last-child { display: flex; flex-direction: column; font-size: 17px; }
.referral-intro, .referral > * { min-width: 0; }
.contact-list a, .contact-list span { overflow-wrap: anywhere; }
.contact-list strong { font-size: 14px; color: var(--muted); font-weight: 600; }
@media (max-width: 960px) { .referral { grid-template-columns: 1fr; gap: 40px; } .referral-intro { position: static; } }

.form-card { background: var(--white); border-radius: 32px; padding: clamp(22px, 4vw, 44px); display: flex; flex-direction: column; gap: 24px; box-shadow: var(--shadow-lg); }
.progress { display: flex; flex-direction: column; gap: 12px; }
.progress-bar { height: 8px; background: var(--bg); border-radius: 999px; overflow: hidden; }
.progress-bar span { display: block; height: 100%; width: 33.33%; background: linear-gradient(90deg, var(--teal), var(--purple)); border-radius: 999px; transition: width .4s var(--ease); }
.progress-steps { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; color: var(--muted); }
.progress-steps li.active { color: var(--teal); }
.progress-steps li.done { color: var(--ink-strong); }
.step { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.step legend { font-size: 22px; font-weight: 700; color: var(--ink-strong); margin-bottom: 4px; padding: 0; }
.js .step { display: none; }
.js .step.active { display: flex; animation: fade .35s var(--ease); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 600; color: var(--ink-strong); }
.field input, .field select, .field textarea { min-height: 52px; border: 1.5px solid #CBD5E1; border-radius: 14px; padding: 0 16px; font-size: 16px; font-family: inherit; color: var(--ink-strong); background: var(--white); width: 100%; transition: border-color .2s, box-shadow .2s; }
.field textarea { padding: 14px 16px; resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }
.field .invalid, .check input.invalid { border-color: #B91C1C; box-shadow: 0 0 0 4px #FEE2E2; }
.err { font-size: 14px; font-weight: 600; color: #B91C1C; }
.optional { font-weight: 400; color: var(--muted); }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px; }
.radio { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1.5px solid #CBD5E1; border-radius: 999px; font-weight: 500; font-size: 15px; cursor: pointer; transition: border-color .2s, background-color .2s; }
.radio:has(input:checked) { border-color: var(--teal); background: var(--teal-soft); color: var(--teal); font-weight: 600; }
.radio input { accent-color: var(--teal); width: 18px; height: 18px; margin: 0; }
.svc-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-height: 300px; overflow-y: auto; padding: 4px; border-radius: 14px; }
@media (max-width: 560px) { .svc-checks { grid-template-columns: 1fr; } }
.svc-check { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border: 1.5px solid #E2E8F0; border-radius: 12px; font-weight: 500; font-size: 15px; cursor: pointer; transition: border-color .2s, background-color .2s; }
.svc-check:has(input:checked) { border-color: var(--purple); background: var(--lavender-soft); color: var(--purple-dark); font-weight: 600; }
.svc-check input { width: 18px; height: 18px; accent-color: var(--purple); margin: 0; flex: none; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--muted); font-weight: 500; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--teal); }
.form-note { font-size: 14px; color: var(--muted); }
.form-nav { display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap; }
.form-nav .btn { flex: 1 1 140px; min-height: 56px; font-size: 17px; }
.js #prev-step[hidden], .js #next-step[hidden], .js #submit-btn[hidden] { display: none; }
html:not(.js) #prev-step, html:not(.js) #next-step, html:not(.js) .progress { display: none; }

/* Careers */
.careers { display: flex; justify-content: space-between; align-items: center; gap: 24px 48px; flex-wrap: wrap; background: linear-gradient(135deg, var(--lavender-soft), #E6F2F5); border-radius: 40px; padding: clamp(28px, 5vw, 64px); }
.careers p:not(.eyebrow) { color: var(--muted); max-width: 640px; margin-top: 12px; font-size: 18px; }

.careers > div { min-width: 0; flex: 1 1 320px; }
.careers p a { overflow-wrap: anywhere; }

/* Footer */
.site-footer { background: var(--ink-strong); color: #F8FAFC; padding-top: 72px; padding-bottom: 48px; margin-top: 104px; }
.footer-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; max-width: 460px; }
.footer-brand .brand, .footer-brand .brand:hover { color: #F8FAFC; }
.footer-tag { color: var(--lavender); font-size: 17px; }
.footer-brand small { font-size: 15px; color: #CBD5E1; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; font-size: 16px; }
.footer-cols div { display: flex; flex-direction: column; gap: 12px; }
.footer-cols a { color: #E2E8F0; text-decoration: none; }
.footer-cols a:hover { color: var(--white); text-decoration: underline; }
.acknowledgement { max-width: 820px; font-size: 15px; color: #CBD5E1; border-top: 1px solid #475569; margin-top: 48px; padding-top: 32px; }
.copyright { font-size: 14px; color: #CBD5E1; margin-top: 16px; }

/* Floating UI */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--teal); color: var(--white); box-shadow: var(--shadow); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform .2s var(--ease); }
.to-top:hover { transform: translateY(-3px); }
.to-top[hidden] { display: none; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translate(-50%, calc(100% + 48px)); visibility: hidden; background: var(--ink-strong); color: var(--white); padding: 14px 22px; border-radius: 999px; font-weight: 600; font-size: 15px; box-shadow: var(--shadow-lg); transition: transform .35s var(--ease); max-width: calc(100% - 32px); text-align: center; }
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast a { color: var(--lavender); }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Phone overrides for explorer and tabs (kept late so they win) */
@media (max-width: 640px) {
  .seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 22px; width: 100%; flex: 1 1 100%; min-width: 0; }
  .seg-btn { white-space: normal; line-height: 1.2; }
  .tabs { border-radius: 22px; flex-wrap: wrap; }
}

/* Simple content pages */
.page { max-width: 820px; padding-top: 48px; padding-bottom: 32px; }
.page h1 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 24px; }
.page h2 { font-size: 26px; margin: 40px 0 12px; letter-spacing: -0.01em; }
.page p, .page li { color: var(--muted); }
.page p + p { margin-top: 12px; }
.page ul { padding-left: 22px; }

/* ---------- Multi-page additions ---------- */
.main-nav a[aria-current="page"] { background: var(--white); color: var(--teal); font-weight: 700; }
@media (max-width: 960px) { .main-nav a[aria-current="page"] { background: transparent; } }

.page-hero { padding-top: 56px; padding-bottom: 48px; }
.page-hero .container { display: flex; flex-direction: column; gap: 16px; }
.page-hero .eyebrow { margin-bottom: 0; }
.page-hero h1 { font-size: clamp(38px, 5vw, 60px); max-width: 860px; text-wrap: balance; }
.page-hero .lead { max-width: 720px; }
.section-tight { padding-top: 56px; padding-bottom: 56px; }
.explorer-section { padding-top: 40px; }
.home .site-footer, .site-footer { margin-top: 48px; }

/* Home: featured service cards */
.svc-lite { background: var(--bg); border: 1.5px solid transparent; border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--ink); transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s; }
.svc-lite:hover { transform: translateY(-4px); box-shadow: var(--shadow); background: var(--white); border-color: var(--line); color: var(--ink); }
.svc-lite:hover .svc-icon { background: var(--teal); color: var(--white); }
.svc-lite p { color: var(--muted); font-size: 16px; }
.more-link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--teal); font-size: 15px; }
.more-link svg { transition: transform .25s var(--ease); }
.svc-lite:hover .more-link svg { transform: translateX(4px); }

/* Call-to-action band */
.cta-band { background: var(--teal); color: var(--white); border-radius: 40px; padding: clamp(28px, 5vw, 64px); display: flex; justify-content: space-between; align-items: center; gap: 24px 48px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; right: -120px; bottom: -200px; background: rgba(233, 213, 255, .14); pointer-events: none; }
.cta-band > div:first-child { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.cta-band h2 { color: var(--white); font-size: clamp(28px, 3.4vw, 42px); }
.cta-band p { color: #D5E7EC; font-size: 18px; max-width: 620px; }
.cta-band .btn-row { position: relative; z-index: 1; }
.btn-white { background: var(--white); color: var(--teal); }
.btn-white:hover { background: var(--lavender-soft); color: var(--teal-dark); transform: translateY(-2px); }
.btn-light-outline { border-color: rgba(255, 255, 255, .7); color: var(--white); background: transparent; }
.btn-light-outline:hover { background: rgba(255, 255, 255, .12); color: var(--white); transform: translateY(-2px); }
.cta-band .btn:focus-visible { outline-color: var(--white); }
@media (max-width: 560px) { .cta-band { border-radius: 28px; } .cta-band .btn-row .btn { flex: 1 1 100%; } }

/* NDIS funding page */
.plan-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .plan-cards { grid-template-columns: 1fr; } }
.plan-card { background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.plan-card p { color: var(--muted); font-size: 16px; }
.status { align-self: flex-start; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.status.ok { background: #DCFCE7; color: #166534; }
.status.ask { background: #FEF3C7; color: #92400E; }
.note { margin-top: 28px; color: var(--muted); font-size: 16px; max-width: 760px; }

/* About page */
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 36px; } }
.about-copy { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.about-copy h2 { font-size: clamp(28px, 3vw, 38px); }
.about-copy p { font-size: 18px; color: var(--muted); max-width: 680px; }
.about-facts { list-style: none; margin: 0; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 28px; display: flex; flex-direction: column; gap: 20px; }
.about-facts li { display: flex; gap: 14px; align-items: flex-start; }
.about-facts svg { color: var(--purple); flex: none; margin-top: 2px; }
.about-facts span { display: flex; flex-direction: column; color: var(--muted); font-size: 15.5px; }
.about-facts strong { color: var(--ink-strong); font-size: 16.5px; }

/* FAQ page */
.faqs-narrow { max-width: 860px; }

/* Contact page */
.contact-section { padding-top: 56px; }
.referral-intro h1 { font-size: clamp(38px, 5vw, 56px); }

.page-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px !important; }
.page p, .page li { overflow-wrap: anywhere; }
