/* Industry landing pages (/homemaker-companion, /home-health, /nurse-registry,
   /hospice). One stylesheet for the four pages, which share a layout. The
   header, buttons, FAQ, closing card and footer reuse the site's v4 classes
   and values from the other pages; the .ind-* rules are the industry layout. */

body { margin: 0; background: var(--tp-pearl); overflow-x: hidden; }
[hidden] { display: none !important; }

.v4 {
  --ink: var(--tp-forest-dark);
  --forest: var(--tp-forest);
  --emerald: var(--tp-emerald);
  --lime: var(--tp-lime);
  --gold: var(--tp-gold);
  --mint: var(--tp-mint);
  --pearl: var(--tp-pearl);
  --sage: var(--tp-deep-sage);
  --hair: rgba(30, 77, 64, 0.15);
  --gut: clamp(20px, 3.75vw, 48px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --serif: var(--font-serif);
  --sans: var(--font-sans);
  --section: clamp(56px, 6.5vw, 96px);
  --card-shadow: 0 0 0 1px var(--hair), 0 24px 48px -32px rgba(30, 77, 64, 0.35);
  position: relative;
  background: var(--pearl);
  color: var(--sage);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.v4 *, .v4 *::before, .v4 *::after { box-sizing: border-box; }
:where(.v4) a { color: inherit; text-decoration: none; }
:where(.v4) img { display: block; max-width: 100%; }
.v4 ::selection { background: var(--gold); color: var(--forest); }
/* A solid outline rather than the other pages' faint lime glow, so focus is
   easy to see on Pearl. Pearl on the dark closing card. */
.v4 :focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; }
.v4-door :focus-visible { outline-color: var(--pearl); }

/* Buttons (same as the other pages) */
.v4-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.v4-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 30px; border: 0; border-radius: 999px; font-family: var(--sans); font-size: 1rem; font-weight: 550; letter-spacing: 0.01em; white-space: nowrap; cursor: pointer; transition: background-color 0.3s, box-shadow 0.35s, color 0.3s, transform 0.25s var(--ease); }
.v4-btn:active { transform: scale(0.98); }
.v4-btn svg { width: 17px; height: 17px; flex: none; }
.v4-btn--solid { background: var(--forest); color: var(--pearl); box-shadow: 0 16px 32px -16px rgba(30, 77, 64, 0.7); }
.v4-btn--solid:hover { background: var(--ink); }
.v4-btn--amber { background: var(--tp-amber); color: var(--forest); box-shadow: 0 16px 32px -18px rgba(248, 156, 92, 0.9); }
.v4-btn--amber:hover { background: #E88A4A; }
.v4-btn--soft { background: rgba(252, 248, 241, 0.72); color: var(--forest); box-shadow: inset 0 0 0 1px var(--hair); }
.v4-btn--soft:hover { background: var(--tp-clay); box-shadow: inset 0 0 0 1px rgba(30, 77, 64, 0.4); }
.v4-btn--light { background: var(--pearl); color: var(--forest); }
.v4-btn--light:hover { background: var(--tp-clay); }
.v4-btn--ghost { color: var(--pearl); box-shadow: inset 0 0 0 1px rgba(252, 248, 241, 0.4); }
.v4-btn--ghost:hover { background: var(--ink); box-shadow: inset 0 0 0 1px var(--pearl); }
.v4-btn--sm { height: 44px; padding: 0 20px; font-size: 0.9375rem; }

/* Header (same as the other pages, plus the Industries dropdown) */
.v4-nav { position: sticky; top: 0; z-index: 60; height: 0; }
.v4-nav-in { display: flex; align-items: center; gap: 32px; height: 84px; padding: 0 var(--gut); transition: height 0.45s var(--ease), background-color 0.45s, box-shadow 0.45s; }
.v4-nav[data-scrolled="true"] .v4-nav-in { height: 70px; background: var(--tp-pearl); box-shadow: 0 1px 0 var(--hair); }
.v4-logo { flex: 0 0 auto; }
.v4-logo img { height: 26px; width: auto; }
.v4-links { display: flex; gap: 36px; margin: 0 auto; font-size: 0.9375rem; }
.v4-links > a { position: relative; padding: 6px 0; white-space: nowrap; color: var(--sage); transition: color 0.25s; }
.v4-links > a:hover { color: var(--forest); }
.v4-nav-end { display: flex; align-items: center; gap: 12px; }
.v4-nav-signin { font-size: 0.9375rem; font-weight: 600; color: var(--forest); white-space: nowrap; padding: 6px 4px; }
.v4-nav-signin:hover { color: var(--emerald); }
.v4-menu-btn { display: none; align-items: center; height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: rgba(252, 248, 241, 0.75); box-shadow: inset 0 0 0 1px var(--hair); font-family: var(--sans); font-size: 0.9375rem; font-weight: 550; color: var(--forest); cursor: pointer; }
.v4-dd { position: relative; display: flex; align-items: center; }
.v4-dd-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; border: 0; background: none; cursor: pointer; font-family: var(--sans); font-size: 0.9375rem; color: var(--sage); white-space: nowrap; }
.v4-dd-btn[data-current="true"] { color: var(--emerald); }
.v4-dd-btn svg { transition: transform 0.25s var(--ease); }
.v4-dd:hover .v4-dd-btn, .v4-dd:focus-within .v4-dd-btn { color: var(--forest); }
.v4-dd:hover .v4-dd-btn svg, .v4-dd:focus-within .v4-dd-btn svg { transform: rotate(180deg); }
.v4-dd-menu { position: absolute; top: 100%; left: 50%; min-width: 240px; padding: 8px; margin-top: 10px; border-radius: 20px; background: #FFFFFF; box-shadow: 0 0 0 1px var(--hair), 0 24px 48px -24px rgba(30, 77, 64, 0.35); transform: translate(-50%, 6px); opacity: 0; visibility: hidden; transition: opacity 0.18s ease-out, transform 0.18s ease-out, visibility 0s 0.18s; }
.v4-dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.v4-dd:hover .v4-dd-menu, .v4-dd:focus-within .v4-dd-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.v4-dd-menu a { display: block; padding: 12px 16px; border-radius: 14px; }
.v4-dd-menu a:hover, .v4-dd-menu a[aria-current="page"] { background: var(--tp-clay); }
.v4-dd-menu b { display: block; font-size: 0.9375rem; font-weight: 600; color: var(--forest); }
.v4-dd-menu small { display: block; margin-top: 2px; font-size: 0.8125rem; color: var(--sage); }
.v4-menu { position: fixed; inset: 0; z-index: 55; display: flex; flex-direction: column; gap: 44px; padding: 110px var(--gut) 40px; background: var(--pearl); overflow-y: auto; }
/* Auto margins center the menu when it fits and let it scroll from the top when the extra Industries group makes it taller than the screen. */
.v4-menu > :first-child { margin-top: auto; }
.v4-menu > :last-child { margin-bottom: auto; }
.v4-menu nav { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.v4-menu nav a, .v4-menu-group { padding: 6px 0; font-family: var(--serif); font-size: clamp(2.25rem, 10vw, 3.25rem); letter-spacing: -0.02em; color: var(--forest); }
.v4-menu nav a.v4-menu-sub { padding: 2px 0; font-family: var(--sans); font-size: 1.25rem; letter-spacing: 0; color: var(--emerald); }
.v4-menu-ctas { display: grid; gap: 12px; width: 100%; max-width: 360px; margin: 0 auto; }
@media (max-width: 1239px) {
  .v4-links, .v4-nav-signin, .v4-nav .v4-btn--soft.v4-btn--sm { display: none; }
  .v4-nav-end { margin-left: auto; gap: 10px; }
  .v4-menu-btn { display: inline-flex; }
}
@media (min-width: 1240px) { .v4-menu { display: none; } }
/* Industries and "Schedule a Demo" make this header wider than the live one, so the menu
   button takes over below 1240px (live pages: 1100px) and the gaps tighten up to 1299px. */
@media (min-width: 1240px) and (max-width: 1299px) {
  .v4-nav-in { gap: 20px; }
  .v4-links { gap: 24px; }
  .v4-nav-end { gap: 8px; }
}
@media (max-width: 759px) {
  .v4-nav-in { height: 68px; }
  .v4-logo img { height: 21px; }
}
@media (max-width: 699px) { .v4-nav .v4-btn--amber.v4-btn--sm { display: none; } }
@media (max-width: 479px) { .v4-nav .v4-btn--sm { display: none; } }

/* Layout */
.ind-wrap { max-width: 1240px; margin: 0 auto; }
.ind-section { padding: var(--section) var(--gut); }
.ind-h1 { margin: 0; font-family: var(--serif); font-size: clamp(2.75rem, 6.4vw, 5.25rem); font-weight: 400; line-height: 1.02; letter-spacing: -0.035em; color: var(--forest); text-wrap: balance; }
.ind-h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.25rem, 4.2vw, 3.5rem); font-weight: 400; line-height: 1.08; letter-spacing: -0.032em; color: var(--forest); text-wrap: balance; }
.ind-h2 em { font-style: italic; color: var(--emerald); }
.ind-lead { margin: 0; font-size: clamp(1.1875rem, 1.7vw, 1.375rem); line-height: 1.6; text-wrap: pretty; }
.ind-card { min-width: 0; padding: 30px; border-radius: 24px; background: #FFFFFF; box-shadow: var(--card-shadow); display: flex; flex-direction: column; gap: 12px; }
.ind-card p { margin: 0; font-size: 1rem; line-height: 1.7; }
.ind-card a { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.ind-card a:hover { color: var(--emerald); }
.ind-card .ind-card-title { font-family: var(--serif); font-size: 1.3125rem; line-height: 1.3; color: var(--forest); }
.ind-row { display: flex; flex-wrap: wrap; gap: 18px; }
.ind-row > * { flex: 1 1 300px; }
.ind-row--wide > * { flex: 1 1 460px; }
.ind-stack { display: flex; flex-direction: column; gap: clamp(44px, 5vw, 64px); }

/* Hero */
.ind-hero { padding: calc(84px + 80px) var(--gut) clamp(48px, 5.5vw, 76px); }
.ind-hero .ind-wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.ind-hero-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.ind-hero-copy p { margin: 0; max-width: 560px; font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.55; text-wrap: pretty; }
.ind-hero-copy .v4-btns { margin-top: 8px; }
.ind-hero-photo { flex: 1 1 420px; min-width: 0; }
.ind-hero-photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 32px; box-shadow: 0 46px 80px -50px rgba(30, 77, 64, 0.5); }
@media (max-width: 759px) { .ind-hero { padding-top: calc(68px + 56px); } }

/* Testimonial */
.ind-quote { max-width: 860px; margin: 0 auto; padding: 40px; border-radius: 24px; background: #FFFFFF; box-shadow: var(--card-shadow); display: flex; flex-wrap: wrap; gap: 24px 32px; align-items: center; }
.ind-quote img { flex: none; width: 96px; height: 96px; border-radius: 999px; object-fit: cover; object-position: 50% 30%; }
.ind-quote > div { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.ind-quote blockquote { margin: 0; font-family: var(--serif); font-size: 24px; line-height: 1.4; color: var(--forest); }
.ind-quote figcaption { font-size: 1rem; font-weight: 700; color: var(--forest); }
@media (max-width: 559px) { .ind-quote { padding: 28px; } .ind-quote blockquote { font-size: 1.3125rem; } }

/* Products: copy on the left, numbered steps on the right */
.ind-product .ind-wrap { display: flex; flex-wrap: wrap; gap: 48px; }
.ind-product-copy { flex: 1 1 380px; min-width: 0; align-self: flex-start; display: flex; flex-direction: column; gap: 20px; }
.ind-product-copy a { font-size: 1.0625rem; font-weight: 600; color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.ind-product-copy a:hover { color: var(--emerald); }
.ind-product-steps { flex: 1.2 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.ind-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.ind-steps li { display: flex; gap: 24px; align-items: center; padding: 28px; border-radius: 24px; background: #FFFFFF; box-shadow: 0 0 0 1px var(--hair); font-size: 1.125rem; line-height: 1.6; }
.ind-steps--pearl li { background: var(--pearl); }
.ind-num { flex: none; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 999px; background: var(--lime); box-shadow: inset 0 0 0 1px rgba(30, 77, 64, 0.32); font-family: var(--serif); font-size: 20px; line-height: 1; color: var(--forest); }
.ind-note { margin: 8px 0 0; font-size: 1.125rem; font-weight: 700; line-height: 1.5; color: var(--forest); }
@media (max-width: 559px) { .ind-steps li { gap: 18px; padding: 22px; font-size: 1.0625rem; } }
.ind-section--tight-bottom { padding-bottom: clamp(32px, 3.5vw, 48px); }
.ind-section--tight-top { padding-top: clamp(40px, 4.5vw, 64px); }

.ind-section--snug-top { padding-top: clamp(24px, 3vw, 40px); }
.ind-section--snug-bottom { padding-bottom: clamp(24px, 3vw, 40px); }
.ind-center { text-align: center; }
.ind-intro { display: flex; flex-direction: column; gap: 16px; max-width: 1100px; }

/* Stat cards (Home Health) */
.ind-card .ind-stat-num { font-family: var(--serif); font-size: 56px; line-height: 1; letter-spacing: -0.03em; color: var(--forest); }
.ind-stat p:last-child { font-size: 1.125rem; line-height: 1.5; }

/* "How Anna helps": one card per row, problem on the left and Anna's part on the right */
.ind-help { display: flex; flex-direction: column; gap: 16px; width: 100%; max-width: 960px; margin: 0 auto; }
.ind-card.ind-help-row { flex-direction: row; flex-wrap: wrap; gap: 20px 40px; }
.ind-card .ind-help-title { flex: 1 1 300px; min-width: 0; font-family: var(--serif); font-size: 26px; line-height: 1.2; letter-spacing: -0.02em; color: var(--forest); }
.ind-help-row p:last-child { flex: 1.4 1 340px; min-width: 0; font-size: 1.125rem; line-height: 1.7; text-wrap: pretty; }
@media (max-width: 559px) { .ind-card .ind-help-title { font-size: 1.375rem; } }
.ind-learn { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; }
.ind-learn a { font-size: clamp(1.1875rem, 1.7vw, 1.375rem); font-weight: 600; color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.ind-learn a:hover { color: var(--emerald); }

/* Match sheet (Nurse Registry) */
.ind-match { display: flex; flex-wrap: wrap; align-items: stretch; gap: 18px; }
.ind-match-card { flex: 1 1 360px; gap: 10px; }
.ind-match-card b { font-weight: 700; color: var(--forest); }
.ind-match-pill { flex: 0 0 auto; align-self: center; margin: 0 auto; padding: 14px 24px; border-radius: 999px; background: var(--lime); color: var(--forest); font-size: 1rem; font-weight: 700; text-align: center; }
.ind-statement { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }

/* Centered setup list */
.ind-setup { display: flex; flex-direction: column; gap: 32px; }
.ind-setup .ind-steps { width: fit-content; max-width: 100%; margin: 0 auto; }
.ind-setup .ind-steps li { gap: 20px; }

/* Mid-page call to action band */
.ind-band-section { padding: 0 var(--gut); }
.ind-band { max-width: 1240px; margin: 0 auto; padding: clamp(28px, 3.5vw, 44px) clamp(24px, 4vw, 56px); border-radius: 32px; background: var(--mint); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.ind-band > div:first-child { flex: 1 1 380px; min-width: 0; }
.ind-band-title { margin: 0; font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; letter-spacing: -0.02em; color: var(--forest); }
.ind-band-sub { margin: 10px 0 0; font-size: 1.0625rem; line-height: 1.55; }

/* Example conversations */
.ind-example { gap: 20px; }
.ind-example h3 { margin: 0; font-family: var(--serif); font-size: 18px; font-weight: 400; line-height: 1.3; color: var(--forest); }
.ind-chat { display: flex; flex-direction: column; gap: 8px; }
.ind-msg { max-width: 84%; padding: 10px 14px; font-size: 0.875rem; line-height: 1.45; }
.ind-msg--anna { align-self: flex-start; background: var(--forest); color: var(--pearl); border-radius: 20px 20px 20px 6px; }
.ind-msg--them { align-self: flex-end; background: var(--pearl); color: var(--forest); box-shadow: inset 0 0 0 1px rgba(30, 77, 64, 0.1); border-radius: 20px 20px 6px 20px; }
.ind-more { align-self: center; font-size: 22px; line-height: 1; letter-spacing: 0.2em; }
.ind-card .ind-outcome { font-weight: 600; color: var(--forest); }

/* FAQ: the /anna-intake FAQ look, on native <details> so it needs no script */
.ind-faq { max-width: 860px; margin: 0 auto; }
.ind-faq-head { text-align: center; }
.ind-faq-head p { margin: 18px 0 0; font-size: 1.125rem; line-height: 1.7; }
.ind-faq-head a { color: var(--forest); border-bottom: 1px solid var(--forest); }
.ind-faq-list { margin-top: clamp(44px, 5vw, 64px); }
.v4-faq-item { border-top: 1px solid var(--hair); }
.v4-faq-item:last-child { border-bottom: 1px solid var(--hair); }
.v4-faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 4px; cursor: pointer; font-family: var(--serif); font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.3; color: var(--forest); transition: color 0.3s; }
.v4-faq-item summary::-webkit-details-marker { display: none; }
.v4-faq-item summary:hover { color: var(--emerald); }
.v4-faq-ico { position: relative; flex: 0 0 auto; width: 22px; height: 22px; }
.v4-faq-ico::before, .v4-faq-ico::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -0.75px; border-radius: 2px; background: currentColor; transition: transform 0.5s var(--ease), opacity 0.35s; }
.v4-faq-ico::after { transform: rotate(90deg); }
.v4-faq-item[open] .v4-faq-ico::after { transform: rotate(0deg); opacity: 0; }
.v4-faq-item p { margin: 0; padding: 0 60px 30px 4px; font-size: 1.0625rem; line-height: 1.75; }
.v4-faq-item p a { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 759px) { .v4-faq-item p { padding-right: 4px; } }

/* Closing card (the other pages' dark Forest card) */
.v4-cta { padding: clamp(24px, 3vw, 48px) var(--gut) clamp(56px, 7vw, 96px); }
.v4-door { position: relative; isolation: isolate; overflow: hidden; max-width: 780px; margin: 0 auto; padding: clamp(56px, 6vw, 80px) clamp(24px, 5vw, 64px) clamp(48px, 5vw, 64px); border-radius: 40px; background: var(--tp-forest); color: var(--pearl); text-align: center; box-shadow: 0 70px 110px -70px rgba(30, 77, 64, 0.9); }
.v4-door::before { content: ""; position: absolute; inset: 14px; border-radius: 28px; box-shadow: inset 0 0 0 1px rgba(252, 248, 241, 0.14); pointer-events: none; }
.v4-door h2 { max-width: 20ch; margin: 0 auto; font-family: var(--serif); font-size: clamp(2.25rem, 4vw, 3.25rem); font-weight: 400; line-height: 1.05; letter-spacing: -0.035em; color: var(--pearl); text-wrap: balance; }
.v4-door p { max-width: 46ch; margin: 20px auto 0; font-size: 1.0625rem; line-height: 1.6; text-wrap: pretty; }
.v4-door .v4-btns { justify-content: center; margin-top: 28px; }
.v4-door .ind-door-note { margin-top: 18px; font-size: 0.9375rem; font-weight: 600; line-height: 1.5; }
@media (max-width: 559px) { .v4-door .v4-btns { flex-direction: column; align-items: stretch; } }

/* Footer (the other pages' footer, with the logo without the slogan and the HCAF line) */
.v4-foot { padding: 0 var(--gut) 40px; text-align: center; }
.v4-foot-top { display: flex; flex-direction: column; align-items: center; gap: 8px; max-width: 1240px; margin: 0 auto; padding-top: 60px; border-top: 1px solid var(--hair); }
.v4-foot-top > a img { height: 40px; width: auto; }
.v4-foot-tag { margin: 0; font-family: var(--serif); font-size: 1.5rem; font-style: italic; color: var(--forest); }
.v4-foot-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 6px; font-size: 0.9375rem; }
.v4-foot-nav a, .v4-foot-contact a { color: var(--sage); transition: color 0.25s; }
.v4-foot-nav a:hover, .v4-foot-contact a:hover { color: var(--forest); }
.v4-foot-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; font-size: 0.9375rem; }
.ind-member { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; margin-top: 32px; font-size: 0.875rem; line-height: 1.5; }
.ind-member img { height: 56px; width: auto; }
.v4-foot-base { max-width: 1240px; margin: 44px auto 0; font-size: 0.8125rem; }

@media (prefers-reduced-motion: reduce) {
  .v4 *, .v4 *::before, .v4 *::after { transition-duration: 0.001ms !important; }
}
