/* Home page (Dan's design v6, 2026-10-07). Colours, fonts and base classes come from /site.css. */
.site-footer { margin-top: 0; }
.sec-head { display: flex; flex-direction: column; gap: 8px; }
.sec-title { font: 400 42px/1.12 var(--font-display); }
.sec-title--sm { font-size: 34px; }
.sec-sub { font-size: 17px; color: var(--muted); }
.sec-sub--lg { font-size: 18px; max-width: 560px; }
.kicker { font-size: 15px; font-weight: 700; color: var(--green); letter-spacing: 0; }
.more-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; font-size: 17px; text-decoration: none; }
.more-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.more-links { display: flex; flex-wrap: wrap; gap: 18px; }
.more-links .more-link { font-size: 16px; }

/* ---- hero ---- */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr)); gap: 56px; align-items: center; padding-block: 44px 56px; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero-title { font: 400 62px/1.06 var(--font-display); letter-spacing: -0.01em; text-wrap: balance; }
.hero-lede { font-size: 20px; color: var(--muted); max-width: 540px; }
.hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 20 / 21; object-fit: cover; object-position: 50% 40%; border-radius: 32px; }

.hsearch { display: flex; flex-direction: column; gap: 22px; }
.tabs { display: inline-flex; align-self: flex-start; gap: 4px; padding: 4px; border-radius: 999px; background: var(--sand); }
.tab { height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: transparent; color: var(--ink); font: 600 15px/1 var(--font); cursor: pointer; }
.tab[aria-selected='true'] { background: var(--green); color: var(--cream); font-weight: 700; }
.tabpanel { display: flex; flex-direction: column; gap: 10px; }
.tabpanel > .searchbar { margin-bottom: 12px; }
.hint { font-size: 15px; color: var(--muted); max-width: 580px; }
.hint a { font-weight: 700; text-underline-offset: 4px; }
.panel-more { display: none; }   /* phones only: the tabs are hidden there, so this link is the way in for caregivers */
.free-pill { display: inline-flex; align-self: flex-start; align-items: center; gap: 7px; padding: 6px 15px 6px 14px; border-radius: 999px; background: var(--mint); color: var(--green); font-size: 15px; font-weight: 700; line-height: 1.3; }
.free-pill svg { flex: none; stroke-width: 2.4; }

.searchbar { display: flex; align-items: center; gap: 4px; padding: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); }
.seg { flex: 1 1 120px; min-width: 0; display: flex; flex-direction: column; padding: 4px 18px; line-height: 1.3; cursor: pointer; }
.seg-label { font-size: 14px; font-weight: 700; }
.seg input, .seg select { width: 100%; min-width: 0; border: 0; padding: 0; font: inherit; font-size: 16px; color: var(--ink); background: transparent; outline: none; }
.seg input::placeholder { color: var(--faint); }
.seg select { appearance: none; color: var(--muted); cursor: pointer; padding-inline-end: 26px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F4A3D' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat left 0 center / 18px; }   /* RTL: physical left = inline end */
.seg:focus-within { border-radius: 999px; outline: 2px solid var(--green); outline-offset: -2px; }   /* 2px green like /metaplim/; the old 3px #DCEBDD ring was 1.2:1 */
#familyCity, #jobCity { display: block; min-height: 22px; }   /* the field keeps its final height from first paint */
.sep { flex: none; width: 1px; height: 32px; background: var(--line); }
.go { flex: none; width: 58px; height: 58px; border: 0; border-radius: 50%; background: var(--green); color: var(--cream); display: flex; align-items: center; justify-content: center; gap: 8px; font: 700 18px/1 var(--font); cursor: pointer; transition: background .2s; }
.go:hover { background: var(--green-dark); }
.go-text { display: none; }

/* ---- photo band: the promise in one line, the button centred under it ---- */
.band { background: var(--sage); }
.band-inner { padding-block: 48px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.band-title { max-width: 820px; font: 400 30px/1.3 var(--font-display); color: var(--green); text-wrap: balance; }
.band-btn { flex: none; }   /* the standard green .btn (the blue one existed only here) */

/* ---- how we checked: four cards + the closing line ---- */
.trust { padding-block: 72px 56px; display: flex; flex-direction: column; gap: 26px; }
.trust-grid { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 14px; }
.trust-card { padding: 24px 22px; background: var(--white); border: 1px solid var(--line); border-radius: 24px; display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 1.5; color: var(--muted); }
.trust-card strong { font: 400 21px/1.25 var(--font-display); color: var(--ink); }
/* AI illustrations of the screening steps (not real caregivers) */
.trust-photo { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; margin-bottom: 8px; background: var(--sand); }
.trust-icon { width: 46px; height: 46px; margin-bottom: 6px; border-radius: 50%; background: var(--mint); color: var(--green); display: flex; align-items: center; justify-content: center; }
.trust-sub { font: 400 26px/1.25 var(--font-display); color: var(--ink); margin-top: 14px; }
.trust-close { display: flex; align-items: center; gap: 10px; font: 400 21px/1.35 var(--font-display); color: var(--green); }
.trust-close svg { flex: none; stroke-width: 2.6; }
.trust .sec-title, .trust .trust-sub { text-align: center; }
/* the reviews note: light red, so it reads as a warning to anyone who'd fake a review */
.trust .info-callout { max-width: none; background: var(--danger-bg); color: var(--ink); }
.trust .info-callout-icon { background: var(--danger); color: var(--white); }


/* ---- caregiver tiles, moving by area ---- */
.carers { padding-block: 72px 64px; display: flex; flex-direction: column; gap: 22px; }
/* RTL: the area chips (a filter) sit under the heading on the right, not across the row on the left */
.carers-head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.area-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.area-chip { height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--control-line); background: var(--white); color: var(--ink); font: 600 15px/1 var(--font); cursor: pointer; }
.area-chip:hover { border-color: var(--ink); }
.area-chip[aria-pressed='true'] { background: var(--green); border-color: var(--green); color: var(--cream); }
.marquee { overflow: hidden; margin-inline: calc(var(--gutter) * -1); padding: 6px var(--gutter) 10px; }
.marquee-track { display: flex; gap: 14px; width: max-content; }
/* The strip loops on every device, whatever the visitor's reduced-motion setting (Dan's call, 2026-10-11). The pause button under
   it is the way to stop it (WCAG 2.2.2), and hover/focus pause it too. A strip that doesn't loop is a swipeable row. */
.marquee--still { overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
@keyframes marquee { to { transform: translateX(50%); } }   /* rtl: the track starts at the right edge, the copy sits to its left */
.marquee--move .marquee-track { animation: marquee 46s linear infinite; }
.marquee--move:hover .marquee-track, .marquee--move:focus-within .marquee-track, .marquee--move.is-paused .marquee-track { animation-play-state: paused; }
.marquee--move + .marquee-pause { display: inline-flex; }
.marquee-pause { display: none; align-self: flex-start; align-items: center; min-height: 44px; color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.cube { flex: none; width: 250px; scroll-snap-align: start; background: var(--white); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; color: var(--ink); text-decoration: none; display: flex; flex-direction: column; transition: box-shadow .25s, border-color .25s; }
a.cube:hover { color: var(--ink); border-color: var(--leaf); box-shadow: 0 18px 40px -24px rgba(27, 36, 32, .35); }
.cube-photo { position: relative; display: block; }
.cube-flag { position: absolute; inset-block-start: 12px; inset-inline-start: 12px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 15px; font-weight: 800; padding: 4px 14px; border-radius: 999px; }
.cube-photo img { display: block; width: 100%; aspect-ratio: 5 / 4; height: auto; object-fit: cover; object-position: 50% 20%; background: var(--sand); }
.cube-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.cube-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.cube-name { font: 400 22px/1.2 var(--font-display); }
.cube-meta { font-size: 14px; color: var(--muted); white-space: nowrap; }
.cube-rate { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.cube-rate .stars { font-size: 14px; }
.cube-rate b { color: var(--ink); }
.cube-bio { font-size: 14px; line-height: 1.45; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.carers-foot { font-size: 14px; color: var(--muted); }

/* ---- safety tips ---- */
.tips { background: #FBF0C0; }
.tips-inner { padding-block: 64px 72px; display: flex; flex-direction: column; gap: 20px; }
.tips .more-link { color: #6B4A00; }
.tips .num { background: #F5D96B; color: #5C4300; }
.tips-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.tips-grid { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); gap: 12px; }
.tips-grid li { display: flex; align-items: flex-start; gap: 12px; padding: 20px 22px; background: var(--white); border-radius: 20px; font-size: 16px; line-height: 1.5; }
.num { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--peach-mid); color: var(--peach-deep); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; }

/* ---- how it works: three coloured cards ---- */
.how { background: var(--sand); scroll-margin-top: 24px; }
.how-inner { padding-block: 72px 80px; display: flex; flex-direction: column; gap: 30px; }
.how-steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.how-step { min-height: 300px; padding: 30px 28px 28px; border-radius: 28px; display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.55; }
.how-step strong { font: 400 25px/1.2 var(--font-display); }
.how-num { font: 400 56px/1 var(--font-display); opacity: .9; }
.how-step--1 { background: var(--sage); }
.how-step--1 > span:not(.how-num) { color: var(--muted); }
.how-step--2 { background: var(--leaf); }
.how-step--2 > span:not(.how-num) { color: #2F4A3B; }
.how-step--3 { background: var(--green); color: var(--cream); }
.how-step--3 > span:not(.how-num) { color: var(--on-dark); }
.how-note { margin-top: 8px; display: flex; align-items: flex-start; gap: 8px; padding: 12px 14px; border-radius: 14px; background: var(--white); color: var(--green); font-weight: 700; line-height: 1.45; }
.how-note svg { flex: none; margin-top: 2px; }

/* ---- what caregivers help with: photo + a list of rows that open the search ---- */
.help { padding-block: 80px 40px; display: flex; flex-direction: column; gap: 32px; }
.help .sec-sub--lg { max-width: 760px; }
.help-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; align-items: stretch; }
.help-photo { margin: 0; position: relative; min-height: 320px; border-radius: 32px; overflow: hidden; background: var(--sage); }
.help-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.help-list { padding: 26px 28px 14px; background: var(--white); border: 1px solid var(--line); border-radius: 30px; }
.help-list ul { margin: 0; padding: 0; list-style: none; }
.help-group { padding: 6px 8px 12px; font: 700 14px/1.3 var(--font); letter-spacing: 0; color: var(--green); }
.help-group:not(:first-child) { margin-top: 18px; }
.help-row { display: flex; align-items: center; gap: 18px; padding: 14px 8px; border-top: 1px solid var(--sand-deep); color: var(--ink); text-decoration: none; color: var(--ink); }
.help-row > svg { flex: none; color: var(--green); stroke-width: 1.7; }
.help-row:hover { background: var(--sand); color: var(--ink); }
.help-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.help-text strong { font: 400 21px/1.2 var(--font-display); }
.help-text span { font-size: 15px; line-height: 1.4; color: var(--muted); }
.help-arr { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 16px; transition: background .2s, color .2s; }
.help-row:hover .help-arr { background: var(--green); border-color: var(--green); color: var(--white); }

/* ---- who it fits ---- */
.fit-sec { padding-block: 56px 40px; }
.fit { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); gap: 14px; }
.fit-note { margin-top: 16px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.fit-card { padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 24px; display: flex; flex-direction: column; gap: 14px; }
.fit-card h2 { font: 400 24px/1.3 var(--font-display); }
.fit-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 16px; line-height: 1.5; }
.fit-list li { display: flex; align-items: flex-start; gap: 12px; }
.fit-mark { flex: none; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--mint); color: var(--green); }
.fit-mark svg { stroke-width: 2.6; }
.fit-card--no .fit-mark { background: var(--sand); color: var(--peach-ink); }

/* ---- FAQ ---- */
.faq { padding-block: 48px 72px; display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 48px; align-items: start; }
.faq-head { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 4px; cursor: pointer; font: 400 20px/1.3 var(--font-display); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { flex: none; color: var(--green); transition: transform .2s; }
.faq-list details[open] summary svg { transform: rotate(180deg); }
.faq-list p { padding: 0 4px 22px; max-width: 720px; font-size: 17px; line-height: 1.6; color: var(--muted); }

/* ---- who we are ---- */
.about { background: var(--sage); scroll-margin-top: 24px; }
.about-inner { padding-block: 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 48px; align-items: center; }
.about-copy { display: flex; flex-direction: column; gap: 14px; }
.about-text { font-size: 20px; line-height: 1.55; max-width: 560px; }
.about-values { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.about-values li { padding: 22px 18px; border-radius: 20px; background: var(--white); display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font: 400 22px/1.2 var(--font-display); }
.about-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--mint); color: var(--green); display: flex; align-items: center; justify-content: center; }
.about-icon--sky, .about-icon--peach { background: var(--mint); color: var(--green); }

/* ---- post a job ---- */
.cta-sec { padding-block: 72px 96px; }
.cta { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); background: var(--white); border: 1px solid var(--line); border-radius: 32px; overflow: hidden; }
.cta-text { padding: 56px 48px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; }
.cta-text .btn { margin-top: 6px; }
.cta-note { display: flex; align-items: flex-start; gap: 8px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.cta-note svg { flex: none; margin-top: 3px; }
.cta-photo { position: relative; min-height: 360px; }
.cta-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }

/* ---- caregivers ---- */
.join { background: var(--green); color: var(--cream); }
.join-inner { padding-block: 72px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px; }
.join-text { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.join-title { font: 400 40px/1.14 var(--font-display); }
.join-text p { font-size: 18px; color: var(--on-dark); }
.join a:focus-visible, .join button:focus-visible { outline-color: var(--cream); }

/* ---- phones (the 390px design) ---- */
@media (max-width: 720px) {
  .sec-title { font-size: 30px; }
  .sec-title--sm { font-size: 26px; }
  .sec-sub, .sec-sub--lg { font-size: 16px; }
  .hero { padding-block: 16px 28px; gap: 16px; }
  .hero-photo { order: -1; }
  .hero-photo img { aspect-ratio: auto; height: 170px; border-radius: 24px; }
  .hero-copy { gap: 16px; }
  .hero-title { font-size: 38px; line-height: 1.08; letter-spacing: -0.005em; }
  .hero-lede { order: 3; font-size: 17px; }
  .hsearch { order: 2; gap: 16px; }
  .hint, .free-pill { font-size: 16px; }
  .panel-more { display: inline-flex; align-self: flex-start; text-decoration: underline; text-underline-offset: 4px; }
  .tabs { display: none; }
  .searchbar { flex-direction: column; align-items: stretch; gap: 0; padding: 6px; border-radius: 24px; box-shadow: 0 12px 30px -16px rgba(27, 36, 32, .25); }
  .seg { flex: none; padding: 10px 16px; border-bottom: 1px solid var(--sand-deep); }
  .seg:focus-within { border-radius: 14px; }
  .seg input, .seg select { font-size: 17px; }
  .sep { display: none; }
  .go { width: auto; height: 54px; margin-top: 6px; border-radius: 18px; }
  .go-text { display: inline; }
  .band-inner { padding-block: 32px; }
  .band-title { font-size: 23px; }
  .band-btn { width: 100%; }
  .trust { padding-block: 44px 36px; gap: 14px; }
  .trust-card { padding: 16px; flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 14px; row-gap: 4px; }
  .trust-icon { width: 40px; height: 40px; margin: 0; }
  .trust-photo { flex-basis: 100%; margin-bottom: 6px; }
  .trust-card strong { flex: 1 1 0; min-width: 0; font-size: 19px; }
  .trust-card > span:last-child { flex-basis: 100%; }
  .trust-close { align-items: flex-start; font-size: 18px; }
  .trust-sub { font-size: 22px; margin-top: 8px; }
  .trust-close svg { margin-top: 3px; }
  .carers { padding-block: 40px 40px; }
  .area-chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .area-chip { flex: none; }
  .cube { width: 210px; }
  .tips-inner { padding-block: 40px 48px; }
  .how-inner { padding-block: 48px; gap: 20px; }
  .how-step { min-height: 0; }
  .how-num { font-size: 44px; }
  .how-step strong { font-size: 22px; }
  .help { padding-block: 48px 24px; gap: 20px; }
  .help-grid { grid-template-columns: 1fr; gap: 16px; }
  .help-photo { min-height: 260px; border-radius: 24px; }
  .help-list { padding: 18px 14px 8px; border-radius: 24px; }
  .help-row { gap: 12px; padding-inline: 4px; }
  .help-text strong { font-size: 19px; }
  .fit-sec { padding-block: 40px 24px; }
  .faq { grid-template-columns: 1fr; gap: 16px; padding-block: 32px 48px; }
  .faq-head { order: 0; }
  .faq-list summary { font-size: 18px; padding-block: 16px; }
  .faq-list p { font-size: 16px; }
  .about-inner { padding-block: 44px; gap: 24px; }
  .about-text { font-size: 17px; }
  .about-values li { padding: 16px 8px; font-size: 18px; }
  .about-icon { display: none; }
  .cta-sec { padding-block: 40px 56px; }
  .cta { border-radius: 24px; }
  .cta-photo { order: -1; min-height: 200px; }
  .cta-text { padding: 28px 20px; gap: 14px; }
  .cta-text .btn { width: 100%; }
  .join-inner { padding-block: 48px; gap: 24px; }
  .join-title { font-size: 28px; }
  .join-text p { font-size: 16px; }
  .join-inner .btn { width: 100%; }
}

/* Hero kicker as a frosted-glass pill: translucent white over a soft mint glow, blurred backdrop, light rim. */
.kicker--glass { position: relative; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: 999px; font-size: 15px; line-height: 1.3;
  background: linear-gradient(135deg, rgba(255, 255, 255, .78), rgba(220, 235, 221, .5));
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(31, 74, 61, .06), 0 8px 24px rgba(31, 74, 61, .12), 0 1px 3px rgba(31, 74, 61, .08); }
.kicker--glass::before { content: ''; position: absolute; inset: -10px -14px; z-index: -1; border-radius: 999px;
  background: radial-gradient(60% 80% at 70% 50%, rgba(179, 214, 182, .55), transparent 70%); filter: blur(10px); }
.kicker--glass svg { flex-shrink: 0; }
@media (max-width: 720px) { .kicker--glass { font-size: 14px; padding: 7px 13px; gap: 6px; } }
