:root {
  --ink: #101010;
  --muted: #5b625f;
  --soft: #f8f7f2;
  --surface: #ffffff;
  --line: #dedbd2;
  --teal: #2b9c93;
  --teal-soft: #e8f5f2;
  --orange: #e79800;
  --orange-soft: #fff3df;
  --form-label-gap: 8px;
  --heading-copy-gap: 12px;
  --shadow: 0 24px 70px rgba(23, 43, 41, 0.12);
  --serif: "Iowan Old Style", "Georgia", "Times New Roman", serif;
  --sans: Aileron, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Shared service detail pages */
.service-page-shell {
  max-width: none;
  padding: 0 0 96px;
}

.service-page-hero {
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.65fr);
  grid-template-areas: "copy form";
  gap: 44px;
  width: min(1240px, calc(100% - 88px));
  margin: 0 auto;
  padding: 64px 0 52px;
  align-items: center;
}

.service-hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.62fr);
  grid-template-areas:
    "eyebrow media"
    "title media"
    "summary media"
    "meta media";
  column-gap: 34px;
  align-items: center;
  max-width: none;
}

.service-hero-copy > .eyebrow { grid-area: eyebrow; align-self: end; }
.service-hero-copy h1 { grid-area: title; font-size: clamp(44px, 4.4vw, 68px); line-height: .98; }
.service-hero-summary { grid-area: summary; margin: 18px 0 0; }
.service-hero-meta { grid-area: meta; }

.service-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 16px;
  margin-top: 20px;
  color: #3e514d;
  font-size: 13px;
  font-weight: 800;
}

.service-hero-meta span,
.service-start-panel__assurance {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.service-hero-meta .button-icon,
.service-start-panel__assurance .button-icon { width: 17px; height: 17px; color: var(--teal); }

.service-hero-media {
  grid-area: media;
  min-height: 0;
  height: 280px;
  margin: 0;
  box-shadow: none;
}

.service-hero-media img {
  min-height: 0;
  height: 100%;
  animation: none;
}

.service-start-panel { position: static; padding: 24px; }
.service-start-panel h2 { font-size: clamp(27px, 2.5vw, 38px); }
.service-start-panel__assurance { margin: 16px 0 0; color: #53635f; font-size: 12px; font-weight: 750; }
.service-auth-methods { display: none; }

.service-chapter-nav {
  position: fixed;
  top: 68px;
  right: 0;
  left: 0;
  z-index: 55;
  display: flex;
  justify-content: center;
  gap: 42px;
  border-block: 1px solid var(--line);
  background: rgba(255, 253, 248, .96);
  padding: 15px 22px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
  visibility: hidden;
  backdrop-filter: blur(12px);
  transition: opacity 180ms ease, transform 220ms ease, visibility 0s linear 220ms;
}

.service-chapter-nav.is-docked {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
  transition-delay: 0s;
}

[data-section-nav-section] { scroll-margin-top: 138px; }

.service-chapter-nav a { color: #42514e; font-size: 14px; font-weight: 800; text-decoration: none; }
.service-chapter-nav a:hover { color: var(--teal); }

.service-knowledge-section,
.service-faq-section,
.service-bottom-cta {
  width: min(1120px, calc(100% - 88px));
  margin-inline: auto;
}

.service-knowledge-section {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  gap: 68px;
  padding: 86px 0;
}

.service-knowledge-section h2,
.service-process-section h2,
.service-bottom-cta h2 { margin: 0; font-size: clamp(34px, 4vw, 52px); line-height: 1.02; }
.service-section-copy h2 + p,
.service-process-section header h2 + p,
.service-bottom-cta h2 + p,
.service-start-panel h2 + p,
.home-deep-link h2 + p,
.memorial-section h2 + p,
.partner-band h2 + p,
.pricing-note h2 + p,
.intake-wizard-step header h2 + p,
.intake-result-panel__header h2 + p {
  margin-top: var(--heading-copy-gap);
}
.service-knowledge-section .service-section-copy > p:last-child { color: var(--muted); font-size: 16px; line-height: 1.6; }

.service-knowledge-list { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.service-knowledge-list details + details { border-top: 1px solid var(--line); }
.service-knowledge-list summary { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: center; padding: 20px 22px; cursor: pointer; list-style: none; }
.service-knowledge-list summary::-webkit-details-marker { display: none; }
.service-knowledge-list summary span { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: var(--teal-soft); color: var(--teal); font-size: 12px; }
.service-knowledge-list summary strong { font-size: 16px; line-height: 1.3; }
.service-knowledge-list details > p { margin: -6px 22px 20px 72px; color: var(--muted); line-height: 1.55; }

.service-process-section {
  background: #edf8f5;
  padding: 76px max(44px, calc((100% - 1120px) / 2));
}

.service-process-section > header { max-width: 720px; margin-bottom: 38px; }
.service-process-section > header > p:last-child { color: var(--muted); font-size: 17px; line-height: 1.55; }
.service-process-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: 62px; align-items: center; }
.service-process-visual { height: 390px; margin: 0; border: 1px solid rgba(43, 156, 147, .22); border-radius: 18px; overflow: hidden; background: #fffaf1; }
.service-process-visual img { width: 100%; height: 100%; object-fit: cover; }
.service-process-steps { position: relative; }
.service-process-steps::before { position: absolute; top: 25px; bottom: 25px; left: 20px; width: 1px; background: rgba(35, 151, 142, .28); content: ""; }
.service-process-steps article { position: relative; display: grid; grid-template-columns: 42px 1fr; gap: 16px; padding: 18px 0; }
.service-process-steps article > span { z-index: 1; display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid #78928d; border-radius: 50%; background: #edf8f5; color: #435854; font-size: 12px; font-weight: 900; }
.service-process-steps article.is-active > span { border-color: var(--teal); background: var(--teal); color: #fff; }
.service-process-steps h3 { margin: 2px 0 6px; font-size: 19px; }
.service-process-steps p { margin: 0; color: var(--muted); line-height: 1.5; }

.service-faq-section {
  display: grid;
  grid-template-columns: minmax(0, .55fr) minmax(0, 1fr);
  gap: 50px;
  border: 0;
  margin-top: 0;
  padding: 86px 0;
  background: #fff;
}

.service-faq-section::before { position: absolute; right: 0; left: 0; z-index: -1; height: inherit; background: #fff; content: ""; }

.service-bottom-cta { display: flex; align-items: center; justify-content: space-between; gap: 36px; border: 1px solid rgba(35, 151, 142, .24); border-radius: 20px; background: var(--teal-soft); padding: 34px 40px; }
.service-bottom-cta h2 { font-size: clamp(30px, 3vw, 42px); }
.service-bottom-cta p:last-child { margin-bottom: 0; color: var(--muted); }
.service-bottom-cta .button { flex: 0 0 auto; }

@media (max-width: 1024px) {
  .service-page-hero { grid-template-columns: 1fr; grid-template-areas: "copy" "form"; width: min(760px, calc(100% - 48px)); padding-top: 44px; }
  .service-start-panel { width: 100%; }
  .service-knowledge-section, .service-faq-section { width: min(760px, calc(100% - 48px)); grid-template-columns: 1fr; gap: 30px; }
  .service-process-layout { grid-template-columns: 1fr; }
  .service-process-visual { height: 360px; }
  .service-bottom-cta { width: min(760px, calc(100% - 48px)); }
}

@media (max-width: 700px) {
  .service-page-hero { width: calc(100% - 36px); padding: 34px 0 38px; }
  .service-hero-copy { grid-template-columns: 1fr; grid-template-areas: "eyebrow" "title" "summary" "meta" "media"; }
  .service-hero-copy h1 { font-size: clamp(40px, 12vw, 56px); }
  .service-hero-media { height: 220px; margin-top: 28px; }
  .service-chapter-nav { top: 64px; justify-content: flex-start; gap: 24px; overflow-x: auto; white-space: nowrap; }
  .service-knowledge-section, .service-faq-section { width: calc(100% - 36px); padding: 58px 0; }
  .service-process-section { padding: 58px 18px; }
  .service-process-visual { height: 250px; }
  .service-process-layout { gap: 28px; }
  .service-knowledge-list summary { padding: 17px 16px; }
  .service-knowledge-list details > p { margin: -4px 16px 18px 66px; }
  .service-bottom-cta { width: calc(100% - 36px); flex-direction: column; align-items: stretch; padding: 28px 24px; }
  .service-bottom-cta .button { width: 100%; }
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  margin: -1px !important;
  border: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: clip;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

main {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
  width: 100%;
}

main > :only-child {
  flex: 1 0 auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  width: 100%;
  min-height: 68px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.site-header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  min-height: 68px;
  padding: 10px 44px;
}

.page-progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 3px;
  overflow: hidden;
  background: rgba(43, 156, 147, 0.14);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.page-progress.is-scrollable {
  opacity: 1;
}

.page-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--teal);
  transform: translateZ(0) scaleX(0);
  transform-origin: left center;
  backface-visibility: hidden;
  contain: paint;
  will-change: transform;
}

.brand {
  display: inline-flex;
  align-items: center;
  position: relative;
  z-index: 31;
}

.brand img {
  display: block;
  width: 142px;
  height: 38px;
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  gap: 18px;
  font-size: 14px;
  font-weight: 700;
}

.nav-trigger {
  padding: 8px 2px;
}

.mega-item {
  position: relative;
}

.nav-trigger {
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 850;
}

.nav-trigger::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
}

.mega-panel {
  position: fixed;
  top: 78px;
  left: 24px;
  right: auto;
  z-index: 80;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr) minmax(320px, 1.2fr);
  grid-template-rows: auto auto;
  column-gap: 30px;
  row-gap: 18px;
  box-sizing: border-box;
  width: min(1240px, calc(100vw - 48px));
  min-width: min(1240px, calc(100vw - 48px));
  max-width: min(1240px, calc(100vw - 48px));
  height: min(390px, calc(100vh - 108px));
  min-height: min(390px, calc(100vh - 108px));
  max-height: calc(100vh - 108px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 30px;
  box-shadow: 0 28px 70px rgba(23, 43, 41, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.985);
  transform-origin: top center;
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  visibility: hidden;
}

.mega-panel[hidden] {
  display: none;
}

.mega-panel.narrow {
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.16fr);
  grid-template-rows: auto auto;
}

.mega-panel.resources-panel {
  grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 1.18fr);
  grid-template-rows: 1fr;
  gap: 30px;
}

.mega-panel.about-menu {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  grid-template-rows: 1fr;
}

#mega-services > .mega-column:first-child {
  grid-column: 1;
  grid-row: 1;
}

#mega-services > .mega-column:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

#mega-services > .mega-cta {
  grid-column: 1 / span 2;
  grid-row: 2;
}

#mega-services > .mega-visual {
  grid-column: 3;
  grid-row: 1 / span 2;
}

#mega-organisations > .mega-column {
  grid-column: 1;
  grid-row: 1;
}

#mega-organisations > .mega-cta {
  grid-column: 1;
  grid-row: 2;
}

#mega-organisations > .mega-visual {
  grid-column: 2;
  grid-row: 1 / span 2;
}

#mega-about > .mega-visual {
  grid-column: 2;
}

#mega-resources > .mega-visual {
  grid-column: 3;
}

.mega-item[data-open="true"] .mega-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  visibility: visible;
}

.mega-item[data-open="true"] .nav-trigger {
  color: #147c75;
}

.mega-column {
  display: grid;
  align-content: start;
  min-width: 0;
  gap: 4px;
}

.mega-kicker {
  margin-bottom: 10px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.25;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mega-link {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  border-radius: 8px;
  padding: 5px 8px 5px 2px;
  color: #2c3632;
  font-size: 14px;
  font-weight: 780;
  line-height: 1.32;
}

.mega-link:hover,
.mega-link:focus-visible {
  background: var(--teal-soft);
  color: #147c75;
  outline: 0;
}

.mega-link-icon {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: #147c75;
  transition: color 160ms ease;
}

.mega-link-icon-svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.mega-link-label {
  min-width: 0;
}

.mega-link-arrow {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.mega-link:hover .mega-link-icon,
.mega-link:focus-visible .mega-link-icon {
  color: #147c75;
}

.mega-link:hover .mega-link-arrow,
.mega-link:focus-visible .mega-link-arrow {
  opacity: 1;
  transform: translateX(0);
}

.mega-visual {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  justify-content: stretch;
  min-width: 0;
  margin-block: -30px;
  margin-right: -30px;
  border-left: 1px solid var(--line);
  overflow: hidden;
}

.mega-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.mega-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0;
  min-width: 0;
}

.mega-cta.compact-cta {
  align-items: center;
}

.mega-cta strong {
  font-family: var(--serif);
  font-size: clamp(22px, 1.6vw, 28px);
  line-height: 1.08;
  overflow-wrap: normal;
}

.mega-cta p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.mega-action,
.nav-demo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mega-action {
  width: fit-content;
  max-width: 100%;
  min-height: 46px;
  justify-content: center;
  margin-top: 4px;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
}

.mega-action .button-icon,
.nav-demo .button-icon {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
}

.nav-demo {
  min-width: 104px;
  min-height: 42px;
  justify-content: center;
  border: 1px solid rgba(35, 151, 142, 0.28);
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  padding: 0 16px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(23, 43, 41, 0.08);
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav-demo:hover,
.nav-demo:focus-visible {
  border-color: rgba(35, 151, 142, 0.42);
  background: #147c75;
  color: #fff;
  outline: 0;
  transform: translateY(-1px);
}

.header-auth,
.menu-button {
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--surface);
  font-size: 14px;
  font-weight: 800;
}

.header-auth {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
}

.profile-shell {
  position: relative;
  justify-self: end;
}

.profile-button {
  border: 0;
  background: transparent;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 0;
  cursor: pointer;
}

.profile-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 12px;
  font-weight: 950;
}

.account-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 75;
  display: grid;
  min-width: 220px;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 12px;
  box-shadow: 0 20px 50px rgba(23, 43, 41, 0.16);
}

.account-menu[hidden] {
  display: none;
}

.account-menu strong,
.account-menu a {
  border-radius: 10px;
  padding: 10px 12px;
}

.account-menu strong {
  color: var(--muted);
  font-size: 12px;
  word-break: break-word;
}

.account-menu a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
}

.account-menu-link {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.account-menu-link__icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #147c75;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.account-menu a:hover {
  background: var(--teal-soft);
}

.menu-button,
.mobile-nav,
.menu-scrim {
  display: none;
}

.header-icon {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 74px 44px 58px;
}

.hero-copy {
  max-width: 100%;
  min-width: 0;
  align-self: start;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2 {
  font-family: var(--serif);
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(48px, 5.4vw, 78px);
  line-height: 0.96;
  font-weight: 800;
}

.hero-title-frame {
  --hero-title-clip-top: clamp(12px, 1.3vw, 20px);
  --hero-title-clip-bottom: clamp(34px, 4vw, 58px);
  overflow: hidden;
  padding: var(--hero-title-clip-top) 0 var(--hero-title-clip-bottom);
  margin: calc(-1 * var(--hero-title-clip-top)) 0 calc(-1 * var(--hero-title-clip-bottom));
}

.hero-title {
  transform-origin: 30% 45%;
}

.hero-title.is-entering {
  animation: hero-title-settle 820ms cubic-bezier(.2, .85, .25, 1.12) both;
}

@keyframes hero-title-settle {
  0% {
    opacity: 0;
    transform: translateY(0.55em);
  }
  56% {
    opacity: 1;
    transform: translateY(-0.08em);
  }
  74% {
    transform: translateY(0.035em);
  }
  89% {
    transform: translateY(-0.012em);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title.is-entering {
    animation: none;
  }
}

.hero-copy > p {
  max-width: 760px;
  margin-top: 20px;
  color: #303835;
  font-size: 18px;
  line-height: 1.56;
}

.typed-line {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  color: #2f3935;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 850;
  line-height: 1.18;
}

.typed-line span {
  position: relative;
  color: var(--teal);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 260ms ease, transform 260ms ease;
  will-change: opacity, transform;
}

.typed-line span.is-fading {
  opacity: 0;
  transform: translateY(4px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.hero-choice-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 188px;
  grid-template-columns: none;
  gap: 12px;
  margin-top: 22px;
  max-width: 100%;
  padding: 2px 2px 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: 2px;
  scroll-snap-type: inline mandatory;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 981px) {
  .hero-choice-grid {
    width: min(1320px, calc(50vw + 522px), calc(100vw - 68px));
    max-width: none;
    padding-right: 24px;
  }
}

.hero-choice-card {
  --action-surface: #f3f8f7;
  --action-accent: #2b9c93;
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: stretch;
  justify-items: stretch;
  gap: 0;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--action-surface);
  padding: 0;
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(23, 43, 41, 0.06);
  font-weight: 900;
  line-height: 1.2;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
  scroll-snap-align: start;
}

.hero-choice-card:hover,
.hero-choice-card:focus-visible {
  border-color: rgba(35, 151, 142, 0.42);
  background: #f3f8f7;
  outline: 0;
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(23, 43, 41, 0.1);
}

.hero-choice-card .button-icon {
  width: 22px;
  height: 22px;
  color: var(--teal);
}

.hero-choice-art {
  display: block;
  width: 100%;
  aspect-ratio: 436 / 640;
  height: auto;
  margin: 0;
  object-fit: contain;
  object-position: center;
  border: 0;
  border-radius: 0;
  background: var(--action-surface);
  filter: saturate(1.08) contrast(1.02);
  mix-blend-mode: multiply;
}

.hero-choice-card span {
  display: flex;
  align-items: flex-start;
  align-self: stretch;
  min-height: 68px;
  box-sizing: border-box;
  padding: 14px 14px 16px;
  min-width: 0;
  border-top: 3px solid var(--action-accent);
  background: #fff;
}

.hero-choice-card--will { --action-surface: #eaf5ef; --action-accent: #3e8f72; }
.hero-choice-card--lpa { --action-surface: #eef0fa; --action-accent: #6d78b8; }
.hero-choice-card--acp { --action-surface: #fff1e8; --action-accent: #d27b55; }
.hero-choice-card--amd { --action-surface: #f4edf8; --action-accent: #9169a5; }
.hero-choice-card--deputyship { --action-surface: #edf4fb; --action-accent: #5687aa; }
.hero-choice-card--estate { --action-surface: #f8f0df; --action-accent: #ad8044; }
.hero-choice-card--funeral { --action-surface: #f6e9e7; --action-accent: #a85f5c; }
.hero-choice-card--resting { --action-surface: #edf3e4; --action-accent: #718c54; }
.hero-choice-card--demo { --action-surface: #e8f3f4; --action-accent: #237b82; }

.hero-choice-grid,
.country-grid {
  scrollbar-width: none;
}

.hero-choice-grid::-webkit-scrollbar,
.country-grid::-webkit-scrollbar {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 62px;
  padding: 0 34px;
  border-radius: 12px;
  border: 1.5px solid var(--ink);
  font-size: 16px;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(23, 43, 41, 0.12);
}

.primary {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.orange {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
}

.ghost {
  background: #fff;
  color: var(--ink);
}

.text-action {
  display: inline-flex;
  gap: 10px;
  margin-top: 22px;
  color: #147c75;
  font-weight: 850;
  border-bottom: 1px solid currentColor;
  padding-bottom: 5px;
}

.availability {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 30px;
}

.availability button {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 15px 24px;
  color: var(--ink);
  font-weight: 800;
  box-shadow: 0 8px 26px rgba(34, 34, 34, 0.06);
}

.availability div {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 13px;
}

.availability strong {
  color: #157b47;
  font-size: 14px;
}

.hero-visual {
  position: relative;
  min-height: 595px;
}

.sketch-hero {
  display: grid;
  align-content: start;
  gap: 18px;
}

.family-art {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center top;
  border-radius: 4px;
  filter: drop-shadow(0 22px 38px rgba(59, 64, 60, 0.08));
}

.hero-sketch-art {
  height: 430px;
  object-position: center 42%;
  border: 1px solid rgba(16, 16, 16, 0.08);
  background: #fff;
}

.hero-sketch-tiles {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 16px;
  width: min(520px, 78%);
  margin-left: 12px;
}

.hero-sketch-tiles figure {
  display: grid;
  gap: 8px;
  margin: 0;
  min-width: 0;
}

.hero-sketch-tiles img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 2.25;
  object-fit: cover;
  object-position: center 42%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.hero-sketch-tiles figcaption {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.case-preview {
  position: absolute;
  right: 28px;
  bottom: 16px;
  width: min(560px, 86%);
  padding: 28px;
  border: 1px solid rgba(16, 16, 16, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.case-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.case-head span,
.case-head strong {
  font-size: 18px;
  font-weight: 900;
}

.case-head small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.case-head strong {
  color: var(--teal);
}

.progress-line {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin: 28px 0;
}

.progress-line span {
  height: 10px;
  border-radius: 999px;
  background: #e7e4da;
}

.progress-line .done {
  background: var(--teal);
}

.progress-line .active {
  background: var(--orange);
}

.case-update {
  border-top: 1px solid var(--line);
  padding-top: 17px;
  color: #39413e;
  font-size: 14px;
}

.trust-strip {
  display: grid;
  grid-template-columns: 0.74fr 1.26fr;
  gap: 42px;
  align-items: stretch;
  max-width: 1320px;
  margin: 0 auto;
  padding: 20px 44px 50px;
}

.trust-copy {
  padding: 32px 0;
}

.trust-copy h2 {
  max-width: 460px;
  font-family: var(--serif);
  font-size: clamp(31px, 3vw, 46px);
  line-height: 1.05;
}

.trust-copy p {
  max-width: 420px;
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.52;
}

.timeline-care-section,
.stakeholder-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.48fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  width: calc(100% - 88px);
  max-width: 1180px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 84px 0 0;
}

.timeline-care-copy {
  position: sticky;
  top: 104px;
}

.timeline-care-copy h2,
.stakeholder-section h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 60px);
  line-height: 0.98;
}

.timeline-care-copy p,
.stakeholder-section p {
  color: var(--muted);
  line-height: 1.55;
}

.timeline-care-grid {
  display: grid;
  gap: 14px;
}

.timeline-care-item {
  display: grid;
  gap: 10px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 18px 44px rgba(23, 43, 41, 0.08);
}

.timeline-care-item small {
  color: var(--teal);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline-care-item h3 {
  margin: 0;
  font-size: clamp(24px, 2.5vw, 34px);
}

.timeline-care-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.timeline-care-item span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
  color: #147c75;
  font-weight: 900;
}

.stakeholder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.stakeholder-grid article {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.stakeholder-grid h3 {
  margin: 0;
  font-size: 25px;
}

.stakeholder-grid p {
  margin: 10px 0 0;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  position: relative;
  min-height: 286px;
  overflow: hidden;
  padding: 0 22px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(23, 43, 41, 0.06);
}

.feature-illustration {
  display: block;
  width: calc(100% + 44px);
  height: 144px;
  margin: 0 -22px 20px;
  object-fit: cover;
  object-position: center;
  border-bottom: 1px solid rgba(16, 16, 16, 0.08);
  background: #fffaf2;
}

.feature-card h3,
.country-card h3,
.demo-case h3,
.service-options h3,
.memorial-section h2 {
  font-family: var(--serif);
}

.feature-card h3 {
  font-size: 22px;
}

.feature-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 58px 44px;
}

.section-heading {
  text-align: center;
  margin-bottom: 32px;
}

.section-heading h2,
.product-header h2,
.partner-band h2,
.answers h2 {
  font-size: clamp(32px, 3.1vw, 48px);
  line-height: 1.05;
}

.pathway-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
}

.path-card {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  min-height: 420px;
  padding: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--teal-soft), #f8fbfa);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.path-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(23, 43, 41, 0.1);
}

.path-card.warm {
  background: linear-gradient(180deg, var(--orange-soft), #fffbf5);
}

.path-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-bottom: 1px solid rgba(16, 16, 16, 0.08);
}

.path-card h3 {
  align-self: end;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.05;
  padding: 24px 26px 0;
}

.path-card p {
  max-width: 270px;
  margin-top: 10px;
  color: #3f4642;
  line-height: 1.45;
  padding: 0 26px;
}

.path-card span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 0 26px 26px;
  color: #177d77;
  font-weight: 850;
}

.path-card span .button-icon {
  width: 17px;
  height: 17px;
}

.warm span {
  color: #ca7900;
}

.steps-section {
  padding-top: 44px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 16px;
  text-align: left;
}

.step-number {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  box-shadow: 0 8px 20px rgba(23, 43, 41, 0.16);
  font-weight: 900;
}

.step-drawing {
  position: relative;
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(23, 43, 41, 0.06);
}

.step-drawing img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.step-copy {
  display: grid;
  gap: 8px;
}

.step h3 {
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.08;
}

.step p {
  color: var(--muted);
  line-height: 1.45;
}

.asean-section {
  display: grid;
  gap: 24px;
  max-width: 1320px;
  margin: 22px auto 0;
  padding: 38px 44px 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.asean-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 24px;
  row-gap: 12px;
  align-items: start;
}

.asean-copy h2,
.asean-copy p {
  grid-column: 1;
}

.asean-copy h2,
.demo-copy h2,
.product-header h2,
.partner-band h2,
.answers h2 {
  font-size: clamp(32px, 3.1vw, 48px);
  line-height: 1.05;
}

.asean-copy p,
.demo-copy p {
  max-width: 480px;
  margin-top: 0;
  color: var(--muted);
  line-height: 1.55;
}

.asean-copy a,
.memorial-section a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  color: var(--teal);
  font-weight: 900;
}

.asean-copy a {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
}

.country-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 1fr);
  grid-template-columns: none;
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 2px 2px 12px;
  scroll-padding-inline: 2px;
  scroll-snap-type: inline mandatory;
  -webkit-overflow-scrolling: touch;
}

.country-card {
  display: block;
  min-height: 270px;
  overflow: hidden;
  padding: 0 18px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #fbfaf5);
  color: inherit;
  text-decoration: none;
  scroll-snap-align: start;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.country-card:hover {
  border-color: rgba(43, 156, 147, 0.55);
  box-shadow: 0 12px 28px rgba(23, 43, 41, 0.09);
  transform: translateY(-2px);
}

.country-card:focus-visible {
  outline: 3px solid rgba(43, 156, 147, 0.3);
  outline-offset: 3px;
}

.country-skyline {
  display: block;
  width: calc(100% + 36px);
  aspect-ratio: 3 / 2;
  height: auto;
  margin: 0 -18px 16px;
  object-fit: contain;
  object-position: center;
  border: 0;
  background: transparent;
}

.country-card h3 {
  font-size: 25px;
}

.country-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.country-directory {
  width: min(calc(100% - 88px), 1240px);
  margin: 0 auto;
  padding: 72px 0 120px;
}

.country-directory__header {
  max-width: 900px;
  margin-bottom: 38px;
}

.country-directory__header h1 {
  max-width: 780px;
  margin-top: 8px;
  font-size: clamp(46px, 5.6vw, 74px);
  line-height: 0.98;
}

.country-directory__header > p:last-child {
  max-width: 850px;
  margin-top: 20px;
  color: #4b5753;
  font-size: 18px;
  line-height: 1.65;
}

.country-directory__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.country-directory-card {
  display: flex;
  min-width: 0;
  min-height: 390px;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgba(43, 156, 147, 0.2);
  border-radius: 18px;
  background: #f4faf8;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.country-directory-card:nth-child(2n) {
  background: #fdf8ed;
}

.country-directory-card:hover,
.country-directory-card:focus-visible {
  border-color: rgba(43, 156, 147, 0.58);
  box-shadow: 0 16px 34px rgba(23, 43, 41, 0.1);
  outline: none;
  transform: translateY(-3px);
}

.country-directory-card__visual {
  display: grid;
  width: 100%;
  min-height: 176px;
  margin: 0;
  padding: 18px 14px 4px;
  place-items: end center;
}

.country-directory-card__visual img {
  display: block;
  width: 100%;
  max-height: 176px;
  object-fit: contain;
  object-position: center bottom;
}

.country-directory-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  border-top: 1px solid rgba(43, 156, 147, 0.13);
  padding: 18px;
}

.country-directory-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.country-directory-card__meta span {
  border-radius: 999px;
  background: rgba(43, 156, 147, 0.12);
  padding: 5px 8px;
  color: #147c75;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.country-directory-card__meta small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.country-directory-card h2 {
  margin-top: 14px;
  font-size: 30px;
  line-height: 1;
}

.country-directory-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.country-directory-card__body > strong {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--teal);
  font-size: 12px;
}

.country-directory-card__body > strong .button-icon {
  width: 16px;
  height: 16px;
}

@media (max-width: 1050px) {
  .country-directory__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .country-directory {
    width: 100%;
    padding: 48px 18px 100px;
  }

  .country-directory__header > p:last-child {
    font-size: 16px;
  }

  .country-directory__grid {
    grid-template-columns: 1fr;
  }

  .country-directory-card {
    min-height: 360px;
  }
}

.demo-section {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 46px;
  align-items: center;
  max-width: 1320px;
  margin: 22px auto 0;
  padding: 64px 44px;
}

.demo-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.demo-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 12px 18px;
  color: #36413e;
  cursor: pointer;
  font-size: 14px;
  font-weight: 850;
}

.demo-tabs button .button-icon,
.choice-list button .button-icon {
  width: 17px;
  height: 17px;
}

.demo-tabs .active {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.interactive-demo-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(520px, 1.25fr);
  gap: 48px;
  align-items: start;
  max-width: 1320px;
  margin: 0 auto;
  padding: 78px 44px 142px;
}

.demo-intro {
  position: sticky;
  top: 104px;
}

.demo-intro h1 {
  margin: 0;
  font-size: clamp(46px, 5.8vw, 78px);
  line-height: 0.94;
}

.demo-intro p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.demo-intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.demo-builder {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(23, 43, 41, 0.1);
  overflow: hidden;
}

.demo-stepper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.demo-stepper span {
  display: grid;
  min-height: 52px;
  place-items: center;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.demo-stepper .active {
  background: var(--teal-soft);
  color: #147c75;
}

.demo-stepper .done {
  background: #f7fbf5;
  color: #157b47;
}

.demo-lead-form {
  display: grid;
}

.demo-step {
  padding: 34px;
}

.demo-step[hidden] {
  display: none;
}

.demo-step-heading {
  max-width: 640px;
}

.demo-step-heading small {
  color: var(--teal);
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.demo-step-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.demo-step-heading p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.demo-scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.demo-scenario {
  display: grid;
  gap: 10px;
  min-height: 178px;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 20px;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.demo-scenario:hover,
.demo-scenario:focus-visible,
.demo-scenario.active {
  border-color: var(--teal);
  outline: 0;
  box-shadow: 0 18px 44px rgba(23, 43, 41, 0.08);
  transform: translateY(-1px);
}

.demo-scenario .button-icon {
  width: 24px;
  height: 24px;
  color: var(--teal);
}

.demo-scenario strong {
  font-size: 18px;
}

.demo-scenario span {
  color: var(--muted);
  line-height: 1.45;
}

.demo-detail-grid,
.demo-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.demo-detail-grid label,
.demo-contact-grid label {
  display: grid;
  gap: var(--form-label-gap);
  color: #2d3532;
  font-weight: 850;
}

.demo-detail-grid select,
.demo-contact-grid input,
.demo-contact-grid textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
}

.demo-detail-grid fieldset {
  display: grid;
  gap: 10px;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}

.demo-detail-grid legend {
  padding: 0 6px;
  color: #2d3532;
  font-weight: 850;
}

.demo-detail-grid fieldset label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.demo-contact-grid label:last-child {
  grid-column: 1 / -1;
}

.demo-live-preview {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(260px, 0.9fr);
  gap: 18px;
  margin-top: 28px;
}

.demo-case-preview,
.demo-whatsapp-preview {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 24px;
}

.demo-case-preview span {
  color: var(--teal);
  font-size: 13px;
  font-weight: 950;
}

.demo-case-preview h3 {
  margin-top: 12px;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1;
}

.demo-case-preview p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.demo-route {
  margin-top: 24px;
  border-radius: 14px;
  background: var(--teal-soft);
  padding: 14px;
  color: #147c75;
  font-weight: 900;
}

.demo-whatsapp-preview {
  background: #f7fbf5;
}

.demo-controls {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 22px 34px;
}

.demo-panel {
  display: block;
}

.demo-flow-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.82fr) minmax(280px, 1fr);
  gap: 22px;
  align-items: stretch;
}

.demo-flow-panel[hidden] {
  display: none;
}

.phone-demo,
.demo-case {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(23, 43, 41, 0.08);
}

.phone-demo {
  padding: 18px;
}

.phone-top {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  color: #157b47;
  font-size: 13px;
}

.message-list {
  display: grid;
  gap: 12px;
  padding-top: 18px;
}

.message-list p {
  width: 88%;
  border-radius: 18px 18px 18px 4px;
  background: #e8f6ea;
  padding: 13px 14px;
  color: #26312d;
  font-size: 14px;
  line-height: 1.42;
}

.message-list .from-user {
  justify-self: end;
  border-radius: 18px 18px 4px 18px;
  background: #f4f1e8;
}

.demo-case {
  display: grid;
  align-content: center;
  padding: 30px;
}

.demo-case h3 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
}

.demo-case p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.mini-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 26px 0;
}

.mini-progress span {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.mini-progress .done {
  border-color: var(--teal);
  background: var(--teal-soft);
  color: #147c75;
}

.compact {
  min-height: 50px;
  width: max-content;
  padding: 0 24px;
}

.public-band {
  --public-band-gutter: max(44px, calc((100vw - 1232px) / 2));
  width: 100%;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
  padding-right: var(--public-band-gutter);
  padding-left: var(--public-band-gutter);
}

.public-band + .public-band {
  margin-top: 0;
  border-top: 0;
}

.public-band:last-child {
  margin-bottom: 0;
}

.product-shell {
  margin-top: 36px;
  padding: 68px var(--public-band-gutter);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.product-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.product-header p {
  margin-top: 8px;
  color: var(--muted);
}

.product-header span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.product-visual-row {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(320px, 1fr);
  gap: 26px;
  align-items: center;
  margin-bottom: 26px;
}

.product-illustration {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 2.25;
  object-fit: cover;
  object-position: center 44%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(23, 43, 41, 0.08);
}

.product-visual-row h3 {
  max-width: 520px;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
}

.product-visual-row p {
  max-width: 620px;
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.52;
}

.intake-flow {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(220px, 0.46fr) minmax(300px, 0.68fr);
  gap: 22px;
}

.question-card,
.quiet-summary,
.service-options article {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.question-card {
  padding: 30px;
  background: linear-gradient(180deg, #fff, #f8fbfa);
}

.question-card small {
  color: var(--teal);
  font-weight: 900;
}

.question-card h3 {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
}

.question-card p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.45;
}

.choice-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.choice-list button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 15px 18px;
  text-align: left;
  color: #28312e;
  cursor: pointer;
  font-weight: 850;
}

.choice-list button:hover {
  border-color: var(--teal);
}

.quiet-summary {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px;
}

.quiet-summary strong {
  font-family: var(--serif);
  font-size: 24px;
}

.quiet-summary span {
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  color: var(--muted);
  font-size: 14px;
}

.quiet-summary a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  font-weight: 900;
}

.quiet-summary a .button-icon {
  width: 17px;
  height: 17px;
}

.service-options {
  display: grid;
  gap: 12px;
}

.service-options article {
  padding: 20px;
}

.service-options h3 {
  font-size: 22px;
}

.service-options p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.42;
}

.memorial-section {
  display: grid;
  grid-template-columns: 0.6fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 20px;
  padding: 64px var(--public-band-gutter);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f7fbfa;
}

.memorial-section h2 {
  font-size: clamp(31px, 3vw, 46px);
  line-height: 1.05;
}

.memorial-section p {
  max-width: 650px;
  margin-top: var(--heading-copy-gap);
  color: var(--muted);
  line-height: 1.52;
}

.memorial-art {
  display: block;
  width: 100%;
  min-height: 0;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(23, 43, 41, 0.08);
}

.partner-band {
  display: grid;
  grid-template-columns: minmax(250px, 0.78fr) minmax(0, 1.72fr);
  align-items: center;
  gap: 36px;
  margin-top: 20px;
  padding: 44px var(--public-band-gutter);
  border-top: 1px solid rgba(16, 16, 16, 0.12);
  border-bottom: 1px solid rgba(16, 16, 16, 0.12);
  background: linear-gradient(90deg, #e5f5f2, #eff9f7);
}

.partner-band p {
  max-width: 390px;
  margin-top: var(--heading-copy-gap);
  color: #40504c;
  line-height: 1.45;
}

.partner-band a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: #147c75;
  font-weight: 900;
}

.partner-band a .button-icon,
.memorial-section a .button-icon,
.pricing-note a .button-icon {
  width: 17px;
  height: 17px;
}

.partner-types {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.partner-type-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(16, 16, 16, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 32px rgba(23, 43, 41, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.partner-type-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 17px 38px rgba(23, 43, 41, 0.1);
}

.partner-type-art {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #f9fcfb;
}

.partner-type-card h3 {
  margin: 0;
  padding: 10px 8px 11px;
  border-top: 1px solid rgba(16, 16, 16, 0.08);
  color: #173d3a;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
}

.answers {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  margin: 28px 0 110px;
  padding: 62px var(--public-band-gutter);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fffaf2, #fff);
}

.pricing-note p {
  margin-top: var(--heading-copy-gap);
  color: var(--muted);
}

.pricing-note a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--teal);
  font-weight: 900;
}

.faq-accordion {
  overflow: hidden;
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.faq-accordion__item + .faq-accordion__item {
  border-top: 1px solid var(--line);
}

.faq-accordion__item h3 {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  letter-spacing: 0;
}

.faq-accordion__item button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 18px 20px;
  color: #252b28;
  cursor: pointer;
  text-align: left;
  font-weight: 750;
}

.faq-accordion__item button:hover,
.faq-accordion__item button:focus-visible {
  color: var(--teal);
}

.faq-accordion__item button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: -3px;
}

.faq-accordion__icon {
  flex: 0 0 auto;
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  transition: transform 240ms ease;
}

.faq-accordion__item.is-open .faq-accordion__icon {
  transform: rotate(180deg);
}

.faq-accordion__answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 320ms ease, opacity 220ms ease;
}

.faq-accordion__item.is-open .faq-accordion__answer {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-accordion__answer-inner {
  min-height: 0;
  overflow: hidden;
}

.faq-accordion__answer p {
  margin: 0;
  max-width: 680px;
  padding: 0 56px 20px 20px;
  color: var(--muted);
  line-height: 1.5;
}

.country-page {
  width: 100%;
  overflow: clip;
  background: #fff;
}

.country-page-hero,
.country-brief,
.country-services,
.country-faq,
.country-page-cta {
  width: min(calc(100% - 88px), 1180px);
  margin-right: auto;
  margin-left: auto;
}

.country-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.82fr);
  gap: 64px;
  align-items: center;
  padding: 76px 0 84px;
}

.country-page-hero h1 {
  max-width: 760px;
  margin-top: 8px;
  font-size: clamp(48px, 5.3vw, 76px);
  line-height: 0.98;
}

.country-page-hero__copy > p:not(.eyebrow) {
  max-width: 680px;
  margin-top: 20px;
  color: #35413e;
  font-size: 18px;
  line-height: 1.6;
}

.country-page-locales {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.country-page-locales a {
  border-bottom: 1px solid transparent;
  padding: 5px 2px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.country-page-locales a[aria-current="page"] {
  border-color: var(--teal);
  color: #147c75;
}

.country-page-hero__visual {
  margin: 0;
  background: transparent;
}

.country-page-hero__visual img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.country-brief {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
  gap: 70px;
  align-items: start;
  padding: 72px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.country-brief h2,
.country-story h2,
.country-services h2,
.country-faq h2,
.country-page-cta h2 {
  margin-top: 8px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.02;
}

.country-brief__copy > p:not(.eyebrow) {
  margin-top: 18px;
  color: #3f4b48;
  font-size: 17px;
  line-height: 1.65;
}

.country-source-links {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.country-source-links a {
  color: #147c75;
  font-size: 13px;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.country-brief__points {
  display: grid;
}

.country-brief__points article {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 5px 14px;
  border-top: 1px solid var(--line);
  padding: 20px 0;
}

.country-brief__points span {
  grid-row: 1 / 3;
  color: var(--teal);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.country-brief__points h3 {
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.08;
}

.country-brief__points p {
  color: var(--muted);
  line-height: 1.52;
}

.country-story {
  margin-top: 84px;
  padding: 84px max(44px, calc((100% - 1180px) / 2));
  background: linear-gradient(180deg, #edf8f6, #f7fbfa);
}

.country-story__header {
  max-width: 760px;
}

.country-story__header > p:not(.eyebrow) {
  max-width: 680px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.country-story__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.82fr);
  gap: 76px;
  margin-top: 52px;
}

.country-story__visuals {
  position: sticky;
  top: 104px;
  height: min(68vh, 620px);
  overflow: hidden;
  border: 1px solid rgba(43, 156, 147, 0.2);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(23, 43, 41, 0.1);
}

.country-story__visual {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 500ms ease, transform 700ms ease;
}

.country-story__visual.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
}

.country-story__counter {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  border: 1px solid rgba(16, 16, 16, 0.1);
  border-radius: 999px;
  padding: 9px 13px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  backdrop-filter: blur(10px);
}

.country-story__counter strong {
  color: #147c75;
}

.country-story__steps {
  display: grid;
}

.country-story-step {
  display: flex;
  min-height: clamp(260px, 34vh, 390px);
  align-items: center;
  scroll-margin-top: 140px;
}

.country-story-step__content {
  width: 100%;
  border-top: 1px solid rgba(16, 16, 16, 0.18);
  padding: 28px 4px;
}

.country-story-step__content > span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.country-story-step h3 {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: clamp(30px, 3.1vw, 44px);
  line-height: 1.03;
  transition: color 260ms ease;
}

.country-story-step__body {
  overflow: hidden;
}

.country-story-step__body p {
  max-width: 520px;
  margin-top: 14px;
  color: #43514d;
  font-size: 16px;
  line-height: 1.62;
}

[data-country-story-ready] .country-story-step:not(.is-active) .country-story-step__body {
  max-height: 0;
  opacity: 0;
  transform: translateY(8px);
}

[data-country-story-ready] .country-story-step__body {
  max-height: 260px;
  opacity: 1;
  transform: translateY(0);
  transition: max-height 420ms ease, opacity 300ms ease, transform 420ms ease;
}

.country-story-step.is-active h3 {
  color: #147c75;
}

.country-story-step__mobile-art {
  display: none;
}

.country-services {
  padding: 90px 0;
}

.country-services > header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.65fr);
  gap: 60px;
  align-items: end;
}

.country-services > header > p {
  color: var(--muted);
  line-height: 1.58;
}

.country-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 42px;
}

.country-service-card {
  display: grid;
  align-content: start;
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(23, 43, 41, 0.06);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.country-service-card:hover,
.country-service-card:focus-visible {
  border-color: rgba(43, 156, 147, 0.5);
  outline: 0;
  box-shadow: 0 20px 44px rgba(23, 43, 41, 0.1);
  transform: translateY(-3px);
}

.country-service-card__status {
  color: var(--teal);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.country-service-card h3 {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.08;
}

.country-service-card p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.52;
}

.country-service-card__offering {
  margin-top: 8px;
  color: #35413e;
  font-size: 13px;
  font-weight: 850;
}

.country-service-card small {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 20px;
  color: #147c75;
  font-weight: 900;
}

.country-service-card small .button-icon {
  width: 16px;
  height: 16px;
}

.country-services__empty {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  margin-top: 42px;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, #edf8f6, #f7fbfa);
}

.country-services__empty img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.country-services__empty > div {
  padding: 30px 36px 30px 0;
}

.country-services__empty h3 {
  font-family: var(--serif);
  font-size: 32px;
}

.country-services__empty p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.55;
}

.country-faq {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1fr);
  gap: 76px;
  padding: 76px 0;
  border-top: 1px solid var(--line);
}

.country-faq > div:first-child > p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.56;
}

.country-page-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 110px;
  border-radius: 22px;
  padding: 46px 48px;
  background: linear-gradient(135deg, #0f6964, #147c75);
  color: #fff;
}

.country-page-cta > div {
  max-width: 760px;
}

.country-page-cta .eyebrow,
.country-page-cta > div > p:last-child {
  color: rgba(255, 255, 255, 0.78);
}

.country-page-cta > div > p:last-child {
  margin-top: 14px;
  line-height: 1.55;
}

.country-page-cta .button.primary {
  flex: 0 0 auto;
  background: #fff;
  color: #147c75;
}

@media (max-width: 980px) {
  .country-page-hero,
  .country-brief,
  .country-services,
  .country-faq,
  .country-page-cta {
    width: calc(100% - 28px);
  }

  .country-page-hero,
  .country-brief,
  .country-services > header,
  .country-faq {
    grid-template-columns: 1fr;
  }

  .country-page-hero {
    gap: 40px;
    padding-top: 52px;
  }

  .country-page-hero__visual {
    max-width: 720px;
  }

  .country-brief,
  .country-faq {
    gap: 38px;
  }

  .country-story {
    padding-right: 14px;
    padding-left: 14px;
  }

  .country-story__layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .country-story__visuals {
    display: none;
  }

  .country-story-step {
    display: grid;
    min-height: 0;
    margin-top: 20px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
  }

  .country-story-step__mobile-art {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-bottom: 1px solid var(--line);
    object-fit: cover;
  }

  .country-story-step__content {
    border-top: 0;
    padding: 24px;
  }

  [data-country-story-ready] .country-story-step:not(.is-active) .country-story-step__body,
  [data-country-story-ready] .country-story-step__body {
    max-height: none;
    opacity: 1;
    transform: none;
  }

  .country-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .country-page-hero h1 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .country-page-hero,
  .country-brief,
  .country-services,
  .country-faq {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .country-story {
    margin-top: 54px;
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .country-service-grid,
  .country-services__empty {
    grid-template-columns: 1fr;
  }

  .country-service-card {
    min-height: 0;
  }

  .country-services__empty > div {
    padding: 0 22px 28px;
  }

  .country-page-cta {
    align-items: stretch;
    flex-direction: column;
    margin-bottom: 72px;
    padding: 32px 24px;
  }
}

.simple-info-page {
  padding-bottom: 110px;
}

.simple-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.simple-choice-grid article,
.policy-content {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  padding: 28px;
  box-shadow: 0 16px 36px rgba(29, 65, 59, 0.06);
}

.simple-choice-grid h2,
.policy-content h2 {
  margin: 0 0 10px;
  font-family: var(--serif);
}

.simple-choice-grid p,
.policy-content p {
  color: var(--muted);
  line-height: 1.65;
}

.policy-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 48px;
  margin-top: 28px;
}

.policy-updated {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.policy-toc {
  display: grid;
  max-width: 900px;
  gap: 12px;
  margin: 32px auto 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  background: var(--teal-soft);
}

.policy-toc > strong {
  color: #173d3a;
  font-size: 13px;
}

.policy-toc > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.policy-toc a {
  color: #147c75;
  font-size: 13px;
  font-weight: 800;
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(190px, 230px) minmax(0, 900px);
  align-items: start;
  gap: 48px;
  max-width: 1178px;
  margin: 36px auto 0;
}

.policy-layout .policy-toc--sidebar {
  position: sticky;
  top: 104px;
  display: block;
  max-width: none;
  margin: 0;
  border-radius: 12px;
  padding: 18px 12px 12px;
  background: #f2f8f7;
}

.policy-layout .policy-toc--sidebar > strong {
  display: block;
  padding: 0 10px 10px;
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.policy-layout .policy-toc--sidebar > div {
  display: grid;
  gap: 2px;
}

.policy-layout .policy-toc--sidebar a {
  position: relative;
  display: block;
  border-radius: 7px;
  padding: 9px 10px 9px 14px;
  color: #52615f;
  font-size: 13px;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.policy-layout .policy-toc--sidebar a::before {
  position: absolute;
  top: 9px;
  bottom: 9px;
  left: 0;
  width: 3px;
  border-radius: 999px;
  background: var(--teal);
  content: "";
  opacity: 0;
  transform: scaleY(0.45);
  transition: opacity 160ms ease, transform 160ms ease;
}

.policy-layout .policy-toc--sidebar a:hover {
  background: rgba(255, 255, 255, 0.72);
  color: var(--teal);
}

.policy-layout .policy-toc--sidebar a.is-active,
.policy-layout .policy-toc--sidebar a[aria-current="location"] {
  background: #fff;
  color: #147c75;
}

.policy-layout .policy-toc--sidebar a.is-active::before,
.policy-layout .policy-toc--sidebar a[aria-current="location"]::before {
  opacity: 1;
  transform: scaleY(1);
}

.policy-layout .policy-document {
  max-width: none;
  margin: 0;
}

.policy-document {
  grid-template-columns: 1fr;
  max-width: 900px;
  gap: 0;
  margin-right: auto;
  margin-left: auto;
}

.policy-document section {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 120px;
}

.policy-document section:first-child {
  padding-top: 0;
}

.policy-document section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.policy-document h2 {
  margin: 0;
  font-size: clamp(25px, 3vw, 32px);
  line-height: 1.12;
}

.policy-document h2 + p,
.policy-document p + p,
.policy-document p + ul,
.policy-document ul + p {
  margin-top: var(--heading-copy-gap);
}

.policy-document ul {
  display: grid;
  gap: 9px;
  margin-bottom: 0;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.62;
}

.policy-document a {
  color: #147c75;
  font-weight: 800;
}

.intake-question-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.intake-question-grid .intake-field:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.intake-field small {
  display: block;
  margin: -4px 0 8px;
  color: var(--muted);
}

.intake-recommendation {
  margin-bottom: 24px;
  border-radius: 18px;
  background: var(--teal-soft);
  padding: 24px;
}

.intake-recommendation h2 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 24px;
}

.intake-recommendation ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
  line-height: 1.5;
}

.admin-filter-bar {
  display: flex;
  gap: 12px;
  margin: 0 0 22px;
}

.admin-filter-bar .select-input {
  max-width: 260px;
}

.table-panel {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid var(--line);
  padding: 14px 12px;
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-table small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.admin-table a:not(.button) {
  color: var(--teal);
  font-weight: 850;
}

.admin-intake-table tbody tr {
  transition: background-color 160ms ease;
}

.admin-intake-table tbody tr:hover {
  background: rgba(43, 156, 147, 0.05);
}

.admin-row-action {
  white-space: nowrap;
}

.admin-intake-table-panel {
  width: 100%;
  padding: 0;
}

.admin-intake-table {
  width: 100%;
  min-width: 780px;
}

.admin-intake-table th:first-child,
.admin-intake-table td:first-child {
  padding-left: 18px;
}

.admin-intake-table th:last-child,
.admin-intake-table td:last-child {
  padding-right: 18px;
}

.admin-table .admin-table__actions-heading,
.admin-table .admin-table__actions {
  position: sticky;
  right: 0;
  width: 64px;
  background: #fff;
  box-shadow: -10px 0 14px rgba(23, 63, 59, 0.04);
  text-align: right;
  vertical-align: middle;
}

.admin-intake-table tbody tr:hover .admin-table__actions {
  background: #f5fbfa;
}

.admin-table-action {
  position: relative;
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(43, 156, 147, 0.32);
  border-radius: 50%;
  background: #fff;
  color: var(--teal);
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.admin-table-action:hover,
.admin-table-action:focus-visible {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
  outline: none;
  transform: translateY(-1px);
}

.admin-table-action:focus-visible {
  box-shadow: 0 0 0 3px rgba(43, 156, 147, 0.2);
}

.admin-table-action__icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-table-action::after {
  position: absolute;
  right: calc(100% + 9px);
  top: 50%;
  z-index: 5;
  width: max-content;
  max-width: 150px;
  border-radius: 6px;
  background: #173f3b;
  padding: 6px 8px;
  color: #fff;
  content: attr(data-tooltip);
  font-size: 11px;
  font-weight: 750;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translate(4px, -50%);
  transition: opacity 120ms ease, transform 120ms ease;
  white-space: nowrap;
}

.admin-table-action:hover::after,
.admin-table-action:focus-visible::after {
  opacity: 1;
  transform: translate(0, -50%);
}

.admin-detail-list {
  display: grid;
  margin: 0;
}

.admin-detail-list > div {
  display: grid;
  grid-template-columns: minmax(120px, 0.7fr) minmax(0, 1.3fr);
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

.admin-detail-list dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.admin-detail-list dd {
  min-width: 0;
  margin: 0;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.admin-detail-list dd p {
  margin: 0;
  line-height: 1.5;
}

.admin-intake-answers {
  grid-column: 1 / -1;
}

.admin-connected-account {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  background: var(--teal-soft);
}

.admin-connected-account span,
.admin-connected-account small,
.form-help {
  color: var(--muted);
  font-size: 13px;
}

.admin-tool-links {
  display: grid;
  gap: 10px;
}

.admin-tool-links a {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  color: var(--teal);
  font-weight: 850;
}

@media (max-width: 760px) {
  .simple-choice-grid,
  .policy-content,
  .intake-question-grid {
    grid-template-columns: 1fr;
  }

  .intake-question-grid .intake-field:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .admin-filter-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-filter-bar .select-input {
    max-width: none;
  }

  .policy-layout {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 24px;
  }

  .policy-layout .policy-toc--sidebar {
    top: 64px;
    z-index: 20;
    margin-right: calc(var(--mobile-page-gutter, 20px) * -1);
    margin-left: calc(var(--mobile-page-gutter, 20px) * -1);
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    padding: 10px var(--mobile-page-gutter, 20px);
    background: rgba(242, 248, 247, 0.96);
    backdrop-filter: blur(12px);
  }

  .policy-layout .policy-toc--sidebar > strong {
    padding: 0 0 7px;
    font-size: 10px;
  }

  .policy-layout .policy-toc--sidebar > div {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .policy-layout .policy-toc--sidebar > div::-webkit-scrollbar {
    display: none;
  }

  .policy-layout .policy-toc--sidebar a {
    flex: 0 0 auto;
    padding: 8px 10px;
    white-space: nowrap;
  }

  .policy-layout .policy-toc--sidebar a::before {
    top: auto;
    right: 10px;
    bottom: 2px;
    left: 10px;
    width: auto;
    height: 2px;
    transform: scaleX(0.45);
  }

  .policy-layout .policy-toc--sidebar a.is-active::before,
  .policy-layout .policy-toc--sidebar a[aria-current="location"]::before {
    transform: scaleX(1);
  }

}

/* Keep shared service page rules after legacy service styles in the cascade. */
body .service-page-shell { max-width: none; padding: 0 0 96px; }
body .service-page-hero {
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, .65fr);
  grid-template-areas: "copy form";
  gap: 44px;
  width: min(1240px, calc(100% - 88px));
  margin: 0 auto;
  padding: 64px 0 52px;
  align-items: center;
}
body .service-hero-copy {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(280px, .62fr);
  grid-template-areas: "eyebrow media" "title media" "summary media" "meta media";
  column-gap: 34px;
  max-width: none;
}
body .service-hero-copy h1 { font-size: clamp(44px, 4.4vw, 68px); line-height: .98; }
body .service-hero-media { min-height: 0; height: 280px; margin: 0; box-shadow: none; }
body .service-hero-media img { min-height: 0; height: 100%; animation: none; }
body .service-start-panel { position: static; padding: 24px; }
body .service-faq-section {
  grid-template-columns: minmax(0, .55fr) minmax(0, 1fr);
  gap: 50px;
  border: 0;
  margin-top: 0;
  padding: 86px 0;
  background: #fff;
}

@media (max-width: 1024px) {
  body .service-page-hero { grid-template-columns: 1fr; grid-template-areas: "copy" "form"; width: min(760px, calc(100% - 48px)); padding-top: 44px; }
  body .service-faq-section { width: min(760px, calc(100% - 48px)); grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 700px) {
  body .service-page-hero { width: calc(100% - 36px); padding: 34px 0 38px; }
  body .service-hero-copy { grid-template-columns: 1fr; grid-template-areas: "eyebrow" "title" "summary" "meta" "media"; }
  body .service-hero-copy h1 { font-size: clamp(40px, 12vw, 56px); }
  body .service-hero-media { height: 220px; margin-top: 28px; }
  body .service-faq-section { width: calc(100% - 36px); padding: 58px 0; }
}

/* Service-page cohesion, scroll storytelling and chapter focus */
body .service-hero-copy {
  grid-template-areas: "title media" "summary media" "meta media";
}

body .service-hero-media {
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}

body .service-hero-media img {
  object-fit: contain;
  mix-blend-mode: multiply;
}

.service-chapter-nav a {
  position: relative;
  padding-block: 3px;
  transition: color 180ms ease;
}

.service-chapter-nav a::after {
  position: absolute;
  right: 0;
  bottom: -17px;
  left: 0;
  height: 3px;
  background: var(--teal);
  content: "";
  opacity: 0;
  transform: scaleX(.35);
  transition: opacity 180ms ease, transform 180ms ease;
}

.service-chapter-nav a.is-active,
.service-chapter-nav a[aria-current="location"] { color: #147c75; }

.service-chapter-nav a.is-active::after,
.service-chapter-nav a[aria-current="location"]::after { opacity: 1; transform: scaleX(1); }

body .service-knowledge-section {
  display: block;
  padding: 86px 0 54px;
}

.service-knowledge-section > .service-section-copy { max-width: 680px; margin-bottom: 54px; }

.service-knowledge-story {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
  gap: 82px;
  align-items: start;
}

.service-knowledge-visuals {
  position: sticky;
  top: 170px;
  height: 430px;
  overflow: hidden;
  background: #fdf9ef;
}

.service-knowledge-visual {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(.985) translateY(12px);
  transition: opacity 360ms ease, transform 420ms ease;
}

.service-knowledge-visual.is-active { opacity: 1; transform: scale(1) translateY(0); }
.service-knowledge-visual img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.service-knowledge-visuals > p { position: absolute; right: 30px; bottom: 20px; margin: 0; color: #6b7d78; font-size: 12px; letter-spacing: .12em; }
.service-knowledge-step-visual { display: none; }

.service-knowledge-steps article {
  min-height: clamp(220px, 26vh, 290px);
  border-top: 1px solid var(--line);
  padding: 28px 0 32px;
  opacity: .38;
  transition: opacity 260ms ease, transform 260ms ease;
}

.service-knowledge-steps article.is-active { opacity: 1; transform: translateX(8px); }
.service-knowledge-steps article > span { color: var(--teal); font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.service-knowledge-steps h3 { margin: 12px 0 12px; font-family: var(--serif); font-size: clamp(27px, 3vw, 38px); line-height: 1.08; }
.service-knowledge-steps p { max-width: 620px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.65; }

body .service-process-visual {
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}

body .service-process-visual img { object-fit: contain; mix-blend-mode: multiply; }

@media (max-width: 1024px) {
  .service-knowledge-story { gap: 44px; }
  .service-knowledge-visuals { top: 150px; }
}

@media (max-width: 700px) {
  body .service-hero-copy { grid-template-areas: "title" "summary" "meta" "media"; }
  .service-chapter-nav {
    top: 63px;
    width: 100vw;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
    border-top: 0;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .service-chapter-nav::-webkit-scrollbar { display: none; }
  .service-knowledge-section > .service-section-copy { margin-bottom: 28px; }
  .service-knowledge-story { display: block; }
  .service-knowledge-visuals { display: none; }
  .service-knowledge-steps { display: grid; gap: 32px; }
  .service-knowledge-steps article,
  .service-knowledge-steps article.is-active {
    min-height: 0;
    border-top: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 32px;
    opacity: 1;
    transform: none;
  }
  .service-knowledge-step-visual {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    margin: 0 0 22px;
    overflow: hidden;
    background: #fdf9ef;
  }
  .service-knowledge-step-visual img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
  .service-knowledge-steps h3 { font-size: 28px; }
  .service-knowledge-steps p { font-size: 16px; }
  body .service-process-visual { height: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  .faq-accordion__answer,
  .faq-accordion__icon {
    transition: none;
  }
}

/* Admin application shell */
.admin-dashboard-page {
  --admin-header-height: 68px;
  --admin-rail-width: 72px;
  background: #f5f7f6;
}

.admin-dashboard-page .site-header {
  border-bottom: 1px solid #d8dfdc;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(18, 52, 48, 0.03);
}

.admin-dashboard-layout {
  display: grid;
  grid-template-columns: var(--admin-rail-width) minmax(0, 1fr);
  min-height: calc(100dvh - var(--admin-header-height));
}

.admin-sidebar {
  position: sticky;
  top: var(--admin-header-height);
  z-index: 45;
  display: flex;
  flex-direction: column;
  align-self: start;
  width: var(--admin-rail-width);
  height: calc(100dvh - var(--admin-header-height));
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  background: #173f3b;
  color: #fff;
  box-shadow: 8px 0 24px rgba(19, 53, 49, 0.08);
  transition: width 180ms ease, box-shadow 180ms ease;
}

.admin-sidebar:hover,
.admin-sidebar:focus-within {
  width: 224px;
  box-shadow: 18px 0 42px rgba(19, 53, 49, 0.18);
}

.admin-sidebar__identity {
  display: flex;
  flex: 0 0 64px;
  align-items: center;
  gap: 13px;
  min-width: 224px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 14px;
}

.admin-sidebar__identity > span {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 800;
}

.admin-sidebar__identity strong {
  font-size: 15px;
  letter-spacing: 0.02em;
}

.admin-sidebar__nav {
  display: grid;
  gap: 5px;
  padding: 12px 10px;
}

.admin-sidebar__footer {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px 10px;
}

.admin-sidebar__link {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 204px;
  min-height: 48px;
  border-radius: 10px;
  padding: 8px 15px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  transition: color 150ms ease, background-color 150ms ease;
}

.admin-sidebar__link:hover,
.admin-sidebar__link:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  outline: none;
}

.admin-sidebar__link.active {
  background: #fff;
  color: #176e67;
}

.admin-sidebar__icon {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-sidebar__link span,
.admin-sidebar__identity strong {
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity 120ms ease, transform 160ms ease;
}

.admin-sidebar:hover .admin-sidebar__link span,
.admin-sidebar:focus-within .admin-sidebar__link span,
.admin-sidebar:hover .admin-sidebar__identity strong,
.admin-sidebar:focus-within .admin-sidebar__identity strong {
  opacity: 1;
  transform: translateX(0);
}

.admin-dashboard-workspace {
  min-width: 0;
}

.admin-breadcrumbs {
  position: sticky;
  top: var(--admin-header-height);
  z-index: 35;
  display: flex;
  align-items: center;
  min-height: 45px;
  overflow-x: auto;
  border-bottom: 1px solid #dce2df;
  background: rgba(255, 255, 255, 0.94);
  padding: 0 clamp(20px, 3vw, 40px);
  backdrop-filter: blur(14px);
}

.admin-breadcrumbs ol {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  white-space: nowrap;
}

.admin-breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #77817d;
  font-size: 12px;
  font-weight: 750;
}

.admin-breadcrumbs li + li::before {
  color: #aab3af;
  content: "/";
}

.admin-breadcrumbs a:hover,
.admin-breadcrumbs a:focus-visible {
  color: var(--teal);
}

.admin-breadcrumbs [aria-current="page"] {
  color: #26332f;
  font-weight: 850;
}

.admin-dashboard-main {
  display: block;
  min-width: 0;
}

.admin-dashboard-main .admin-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 24px clamp(20px, 3vw, 40px) 64px;
}

.admin-shell .case-titlebar {
  align-items: center;
  margin-bottom: 18px;
}

.admin-shell .case-titlebar h1 {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.admin-shell .case-titlebar p {
  margin-top: 7px;
  font-size: 13px;
  line-height: 1.4;
}

.admin-shell .eyebrow {
  margin: 0 0 5px;
  font-size: 10px;
}

.admin-shell .case-actions {
  gap: 8px;
}

.admin-shell .case-actions .button,
.admin-shell .case-titlebar > .button {
  min-height: 40px;
  padding: 8px 13px;
  font-size: 12px;
}

.admin-shell .case-summary {
  gap: 10px;
  margin-bottom: 16px;
}

.admin-shell .case-summary article {
  gap: 4px;
  border-radius: 11px;
  padding: 14px 16px;
  box-shadow: none;
}

.admin-shell .case-summary strong {
  font-size: 22px;
}

.admin-shell .case-summary-link small {
  display: none;
}

.admin-shell .case-dashboard-grid,
.admin-shell .referral-grid {
  gap: 14px;
}

.admin-shell .case-panel {
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(23, 43, 41, 0.05);
}

.case-panel.table-panel {
  padding: 0;
}

.admin-shell .case-panel h2 {
  font-family: var(--sans);
  font-size: 18px;
  letter-spacing: -0.01em;
}

.admin-shell .panel-heading {
  margin-bottom: 12px;
}

.admin-shell .panel-heading span,
.admin-shell .case-summary span {
  font-size: 11px;
}

.admin-shell .estate-list,
.admin-shell .document-list,
.admin-shell .people-list {
  gap: 9px;
}

.admin-shell .estate-list li,
.admin-shell .document-list li,
.admin-shell .people-list li {
  gap: 10px;
  padding-top: 10px;
  font-size: 13px;
}

.admin-shell .estate-list small,
.admin-shell .muted-copy {
  font-size: 12px;
  line-height: 1.4;
}

.admin-shell .case-list {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

.admin-shell .case-card {
  gap: 8px;
  border-radius: 12px;
  padding: 16px;
  box-shadow: none;
}

.admin-shell .case-card h2 {
  font-family: var(--sans);
  font-size: 18px;
}

.admin-shell .case-card p,
.admin-shell .case-card small {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
}

.admin-shell .case-status,
.admin-shell .pill {
  padding: 4px 8px;
  font-size: 10px;
}

.admin-shell .admin-filter-bar {
  gap: 8px;
  margin-bottom: 12px;
}

.admin-shell .admin-table th,
.admin-shell .admin-table td {
  padding: 10px;
  font-size: 12px;
}

.table-panel .admin-table thead th {
  height: 48px;
  vertical-align: middle;
}

.table-panel .admin-table tbody tr:last-child > td {
  border-bottom: 0;
}

.table-panel .admin-table .admin-table-empty {
  height: 120px;
  text-align: center;
  vertical-align: middle;
  color: var(--muted);
}

.whatsapp-inbox {
  display: grid;
  grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
  min-height: 620px;
  overflow: hidden;
  padding: 0;
}

.whatsapp-thread-list {
  min-width: 0;
  border-right: 1px solid var(--line);
  background: #f7fbfa;
}

.whatsapp-thread-list__heading,
.whatsapp-conversation__header {
  display: flex;
  min-height: 76px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 16px 18px;
}

.whatsapp-thread-list__heading {
  justify-content: space-between;
}

.whatsapp-thread-list__heading strong {
  font-size: 15px;
}

.whatsapp-thread-list__heading span,
.whatsapp-conversation__count {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.whatsapp-thread-list__items {
  max-height: 650px;
  overflow-y: auto;
}

.whatsapp-thread-link {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 15px 14px;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 150ms ease;
}

.whatsapp-thread-link:hover,
.whatsapp-thread-link:focus-visible,
.whatsapp-thread-link.is-selected {
  background: #fff;
}

.whatsapp-thread-link.is-selected::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--teal);
  content: "";
}

.whatsapp-thread-link:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: -2px;
}

.whatsapp-thread-avatar {
  display: inline-grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 50%;
  background: #dff2ef;
  color: #176f69;
  font-size: 15px;
  font-weight: 900;
}

.whatsapp-thread-summary {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.whatsapp-thread-summary__top {
  display: flex;
  min-width: 0;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.whatsapp-thread-summary__top strong,
.whatsapp-thread-preview {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.whatsapp-thread-summary__top strong {
  font-size: 13px;
}

.whatsapp-thread-summary__top time,
.whatsapp-thread-summary small,
.whatsapp-thread-preview {
  color: var(--muted);
  font-size: 11px;
}

.whatsapp-thread-summary__top time {
  flex: 0 0 auto;
}

.whatsapp-thread-badge {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  background: var(--teal);
  padding: 0 6px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.whatsapp-conversation {
  display: grid;
  min-width: 0;
  grid-template-rows: auto 1fr;
  background: #f3f8f7;
}

.whatsapp-conversation__header {
  gap: 12px;
  background: #fff;
}

.whatsapp-conversation__header div {
  min-width: 0;
}

.whatsapp-conversation__header h2,
.whatsapp-conversation__header p {
  margin: 0;
}

.whatsapp-conversation__header h2 {
  overflow: hidden;
  font-family: var(--sans);
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.whatsapp-conversation__header p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.whatsapp-conversation__count {
  margin-left: auto;
  white-space: nowrap;
}

.whatsapp-message-timeline {
  display: flex;
  max-height: 650px;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  padding: 24px;
}

.whatsapp-message-row {
  display: flex;
}

.whatsapp-message-row--outbound {
  justify-content: flex-end;
}

.whatsapp-message-bubble {
  width: fit-content;
  max-width: min(76%, 620px);
  border: 1px solid rgba(29, 83, 78, 0.13);
  border-radius: 6px 6px 6px 0;
  background: #fff;
  padding: 12px 14px;
  box-shadow: 0 4px 14px rgba(26, 61, 57, 0.05);
}

.whatsapp-message-row--outbound .whatsapp-message-bubble {
  border-color: rgba(31, 135, 126, 0.18);
  border-radius: 6px 6px 0;
  background: #def3ef;
}

.whatsapp-message-bubble__body p {
  margin: 0;
  color: #283b39;
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.whatsapp-message-bubble__body p + p {
  margin-top: 8px;
}

.whatsapp-message-bubble footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
}

.whatsapp-delivery-status {
  color: #19776f;
  font-weight: 800;
}

.whatsapp-delivery-status--failed {
  color: #a43e35;
}

.whatsapp-message-case {
  display: block;
  margin-top: 10px;
  border-top: 1px solid rgba(29, 83, 78, 0.13);
  padding-top: 9px;
  color: #147c75;
  font-size: 11px;
  font-weight: 850;
}

.whatsapp-message-routing {
  margin: 11px -14px -12px;
  border-top: 1px solid var(--line);
  background: #fffdf8;
  padding: 11px 14px 13px;
}

.whatsapp-message-routing > p {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 800;
}

.whatsapp-message-routing .inline-admin-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.whatsapp-message-routing .select-input,
.whatsapp-message-routing .button {
  min-height: 38px;
  font-size: 11px;
}

.whatsapp-inbox-empty {
  display: grid;
  min-height: 320px;
  place-items: center;
  align-content: center;
  gap: 10px;
  text-align: center;
}

.whatsapp-inbox-empty__icon {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--teal);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.whatsapp-inbox-empty h2,
.whatsapp-inbox-empty p {
  margin: 0;
}

.whatsapp-inbox-empty p {
  max-width: 460px;
  color: var(--muted);
}

@media (max-width: 760px) {
  .whatsapp-inbox {
    grid-template-columns: 1fr;
  }

  .whatsapp-thread-list {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .whatsapp-thread-list__items {
    max-height: 270px;
  }

  .whatsapp-message-timeline {
    min-height: 420px;
    max-height: none;
    padding: 18px 12px;
  }

  .whatsapp-message-bubble {
    max-width: 88%;
  }

  .whatsapp-message-routing .inline-admin-form {
    grid-template-columns: 1fr;
  }

  .whatsapp-message-routing .button {
    width: 100%;
  }
}

.admin-form-panel {
  width: min(100%, 680px);
}

.admin-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 6px;
}

.admin-optional-fields {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.admin-optional-fields summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.admin-optional-fields[open] summary {
  margin-bottom: 14px;
}

.admin-shell .case-note-form,
.admin-shell .document-upload-form,
.admin-shell .referral-form {
  gap: 9px;
  margin-top: 14px;
  padding-top: 14px;
}

@media (max-width: 980px) {
  .admin-dashboard-page {
    --admin-header-height: 64px;
    --admin-rail-width: 60px;
  }

  .admin-sidebar__identity {
    padding-inline: 9px;
  }

  .admin-sidebar__nav,
  .admin-sidebar__footer {
    padding-inline: 6px;
  }

  .admin-sidebar__link {
    padding-inline: 13px;
  }

  .admin-shell .case-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .admin-dashboard-page {
    --admin-rail-width: 54px;
  }

  .admin-sidebar:hover,
  .admin-sidebar:focus-within {
    width: 210px;
  }

  .admin-sidebar__identity {
    min-width: 210px;
    padding-inline: 7px;
  }

  .admin-sidebar__identity > span {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .admin-sidebar__nav,
  .admin-sidebar__footer {
    padding-inline: 5px;
  }

  .admin-sidebar__link {
    width: 194px;
    padding-inline: 11px;
  }

  .admin-breadcrumbs,
  .admin-dashboard-main .admin-shell {
    padding-right: 16px;
    padding-left: 16px;
  }

  .admin-shell .case-summary,
  .admin-shell .case-dashboard-grid,
  .admin-shell .referral-grid {
    grid-template-columns: 1fr;
  }

  .admin-shell .case-titlebar {
    align-items: flex-start;
  }
}

/* Cohesive illustrated service hero */
body .service-page-hero {
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  margin: 0 0 108px;
  padding: 54px 44px 0;
  background: transparent;
}

body .service-page-hero::before {
  position: absolute;
  inset: 0 0 160px;
  z-index: -1;
  background: #fdf9ef;
  content: "";
}

body .service-hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(380px, 1.18fr);
  gap: 12px;
  align-items: center;
  width: min(1120px, 100%);
  min-height: 390px;
  margin: 0 auto;
}

body .service-hero-copy {
  position: relative;
  z-index: 2;
  display: block;
  grid-area: auto;
  max-width: 580px;
  padding: 20px 0 78px;
}

body .service-hero-copy h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(50px, 5.5vw, 78px);
  line-height: 0.94;
  text-wrap: balance;
}

body .service-hero-summary {
  max-width: 600px;
  margin: 20px 0 0;
  color: #505956;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
}

body .service-hero-meta {
  margin-top: 24px;
}

body .service-hero-media {
  position: relative;
  z-index: 1;
  grid-area: auto;
  width: calc(100% + 64px);
  height: 380px;
  margin: 0 0 0 -64px;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

body .service-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
  animation: none;
}

body .service-start-panel {
  position: relative;
  top: auto;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(250px, 0.78fr) minmax(420px, 1.22fr);
  grid-template-areas:
    "eyebrow form"
    "title form"
    "intro form"
    "assurance form";
  column-gap: clamp(32px, 5vw, 72px);
  align-items: start;
  width: min(1040px, 100%);
  margin: -34px auto 0;
  border: 1px solid rgba(85, 75, 58, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  padding: clamp(26px, 3.2vw, 40px);
  box-shadow: 0 24px 55px rgba(55, 49, 39, 0.12);
  transform: translateY(62px);
}

body .service-start-panel > .eyebrow {
  grid-area: eyebrow;
  margin: 0 0 8px;
}

body .service-start-panel h2 {
  grid-area: title;
  font-size: clamp(30px, 3vw, 42px);
  text-wrap: balance;
}

body .service-start-panel__intro {
  grid-area: intro;
  margin: 12px 0 0;
}

body .service-start-form {
  grid-area: form;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 0;
}

body .service-start-form label,
body .service-start-form__note {
  grid-column: 1 / -1;
}

body .service-start-form .select-input {
  min-width: 0;
}

body .service-start-form__select {
  position: relative;
  display: block;
  min-width: 0;
}

body .service-start-form__select .select-input {
  appearance: none;
  padding-right: 48px;
}

body .service-start-form__select-icon {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 17px;
  height: 17px;
  color: #34413e;
  pointer-events: none;
  transform: translateY(-50%) rotate(90deg);
}

body .service-start-form .button {
  align-self: stretch;
  white-space: nowrap;
}

body .service-start-panel__assurance {
  grid-area: assurance;
  margin: 18px 0 0;
}

@media (max-width: 900px) {
  body .service-page-hero {
    margin-bottom: 118px;
    padding-inline: 24px;
  }

  body .service-hero-stage {
    grid-template-columns: minmax(0, 0.9fr) minmax(330px, 1.1fr);
  }

  body .service-hero-media {
    width: calc(100% + 36px);
    height: 340px;
    margin-left: -36px;
  }

  body .service-start-panel {
    grid-template-columns: minmax(220px, 0.7fr) minmax(360px, 1.3fr);
    column-gap: 30px;
  }
}

@media (max-width: 700px) {
  body .service-page-hero {
    width: 100vw;
    max-width: none;
    margin-bottom: 92px;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    padding: 30px 0 0;
  }

  body .service-hero-stage {
    display: flex;
    min-height: 0;
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding-inline: 18px;
  }

  body .service-hero-copy {
    width: 100%;
    padding: 0;
  }

  body .service-hero-copy h1 {
    font-size: clamp(44px, 13.5vw, 58px);
  }

  body .service-hero-summary {
    margin-top: 16px;
    font-size: 17px;
  }

  body .service-hero-meta {
    gap: 10px 16px;
    margin-top: 20px;
  }

  body .service-hero-media {
    width: calc(100% + 28px);
    height: 235px;
    margin: 8px -14px -12px;
  }

  body .service-start-panel {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas: "eyebrow" "title" "intro" "form" "assurance";
    gap: 0;
    width: calc(100% - 36px);
    margin: -12px auto 0;
    border-radius: 20px;
    padding: 24px 20px;
    transform: translateY(48px);
  }

  body .service-start-panel h2 {
    font-size: clamp(29px, 9vw, 38px);
  }

  body .service-start-form {
    grid-template-columns: 1fr;
    gap: 11px;
    margin-top: 20px;
  }

  body .service-start-form label,
  body .service-start-form__note {
    grid-column: auto;
  }

  body .service-start-form .button {
    width: 100%;
    min-height: 52px;
  }
}

.floating-actions {
  position: fixed;
  right: 30px;
  bottom: 28px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  pointer-events: none;
}

.sticky-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
}

.sticky-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.sticky-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 166px;
  min-height: 68px;
  border: 6px solid #fff;
  border-radius: 999px;
  padding: 0 24px;
  box-shadow: 0 16px 38px rgba(23, 43, 41, 0.22);
  text-align: center;
  color: #fff;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.sticky-cta a .button-icon {
  width: 18px;
  height: 18px;
}

.sticky-cta a:first-child {
  background: var(--teal);
}

.sticky-cta a:last-child {
  background: var(--orange);
}

.floating-actions--service {
  right: 0;
  left: 0;
  justify-content: center;
}

.sticky-cta--service .service-sticky-pill,
.sticky-cta--service .service-sticky-pill:first-child,
.sticky-cta--service .service-sticky-pill:last-child {
  width: max-content;
  max-width: calc(100vw - 160px);
  min-width: 0;
  min-height: 58px;
  border-width: 5px;
  background: var(--teal);
}

.floating-actions--service .whatsapp-fab {
  position: absolute;
  right: 30px;
}

.whatsapp-fab {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border: 6px solid #fff;
  border-radius: 50%;
  background: #26a95f;
  color: #fff;
  box-shadow: 0 16px 38px rgba(19, 83, 57, 0.28);
  font-weight: 950;
  pointer-events: auto;
}

.fab-icon {
  display: block;
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer {
  flex-shrink: 0;
  width: 100%;
  margin-top: auto;
  padding: 64px 44px 150px;
  background: #0f6964;
  color: #f4fffb;
}

.without-floating-actions .site-footer {
  padding-bottom: 64px;
}

.footer-associations {
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  width: min(100%, 1240px);
  margin: 32px auto 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding: 22px 0 0;
}

.footer-associations__heading p {
  margin: 0;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 800;
}

.footer-associations__row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.association-mark {
  display: grid;
  flex: 0 0 auto;
  min-width: 0;
  min-height: 52px;
  place-items: center;
  padding: 0;
  opacity: 0.82;
  transition: opacity 160ms ease, transform 160ms ease;
}

.association-mark:hover,
.association-mark:focus-visible {
  outline: 0;
  opacity: 1;
  transform: translateY(-2px);
}

.association-mark img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 40px;
  object-fit: contain;
}

.association-mark--stacked {
  align-content: center;
  gap: 4px;
}

.association-mark--stacked img {
  height: 25px;
}

.association-mark--stacked span {
  color: #fff;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.02em;
  text-align: center;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr);
  gap: 54px;
  width: min(100%, 1240px);
  margin: 0 auto;
}

.footer-brand {
  display: grid;
  align-content: start;
  gap: 18px;
}

.footer-brand img {
  width: min(100%, 220px);
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.footer-brand p {
  max-width: 380px;
  color: rgba(244, 255, 251, 0.82);
  font-size: 17px;
  line-height: 1.55;
}

.footer-icon-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-icon-button {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  cursor: pointer;
  border: 1px solid rgba(244, 255, 251, 0.34);
  border-radius: 50%;
  padding: 0;
  background: rgba(244, 255, 251, 0.08);
  color: #fff;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.footer-icon-button:hover,
.footer-icon-button:focus-visible {
  border-color: rgba(244, 255, 251, 0.64);
  background: rgba(244, 255, 251, 0.16);
  outline: 0;
  transform: translateY(-2px);
}

.footer-action-icon {
  display: block;
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.footer-columns div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-columns h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: none;
}

.footer-columns a {
  color: rgba(244, 255, 251, 0.82);
  font-size: 14px;
  font-weight: 760;
  line-height: 1.35;
}

.footer-columns a:hover,
.footer-columns a:focus-visible,
.footer-selectors a:hover,
.footer-selectors a:focus-visible {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  width: min(100%, 1240px);
  margin: 22px auto 0;
  border-top: 1px solid rgba(244, 255, 251, 0.22);
  padding-top: 22px;
}

.footer-bottom small {
  color: rgba(244, 255, 251, 0.74);
  line-height: 1.45;
}

.footer-back-to-top {
  color: rgba(244, 255, 251, 0.86);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.footer-back-to-top:hover,
.footer-back-to-top:focus-visible {
  color: #fff;
  text-decoration: underline;
}

.footer-selectors {
  display: flex;
}

.footer-selectors details {
  position: relative;
}

.footer-selectors summary {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  cursor: pointer;
  list-style: none;
  border: 1px solid rgba(244, 255, 251, 0.34);
  border-radius: 50%;
  padding: 0;
  color: #fff;
  background: rgba(244, 255, 251, 0.08);
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.footer-selectors summary:hover,
.footer-selectors summary:focus-visible {
  border-color: rgba(244, 255, 251, 0.58);
  background: rgba(244, 255, 251, 0.14);
  outline: 0;
  transform: translateY(-1px);
}

.footer-globe-icon {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-selectors summary::-webkit-details-marker {
  display: none;
}

.footer-selectors details > div {
  position: absolute;
  right: auto;
  bottom: calc(100% + 12px);
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 24px;
  min-width: min(420px, calc(100vw - 28px));
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 24px;
  color: #2c3632;
  box-shadow: 0 28px 70px rgba(23, 43, 41, 0.16);
}

.footer-locale-panel section {
  display: grid;
  align-content: start;
  gap: 7px;
  min-width: 0;
}

.footer-locale-panel h3 {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-selectors a {
  border-radius: 10px;
  padding: 10px 12px;
  color: #2c3632;
  font-size: 14px;
  font-weight: 780;
  line-height: 1.32;
}

.footer-selectors a:hover,
.footer-selectors a:focus-visible {
  background: var(--teal-soft);
  color: #147c75;
  outline: 0;
  text-decoration: none;
}

.about-shell {
  display: grid;
  gap: 38px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 84px 44px 110px;
}

.about-hero {
  max-width: 760px;
}

.about-hero h1 {
  max-width: 720px;
}

.about-hero > p {
  margin-top: 18px;
  color: #303835;
  font-size: 18px;
  line-height: 1.58;
}

.about-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.about-principles article {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.about-principles h2,
.about-band h2 {
  font-size: clamp(27px, 2.6vw, 38px);
  line-height: 1.08;
}

.about-principles p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.about-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1fr);
  gap: 40px;
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 38px 0;
}

.about-band > p {
  color: #303835;
  font-size: 17px;
  line-height: 1.58;
}

.section-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: #147c75;
  font-weight: 900;
}

.section-text-link .button-icon {
  width: 17px;
  height: 17px;
}

.home-deep-link {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(280px, 1fr) auto;
  gap: 36px;
  align-items: center;
  width: calc(100% - 88px);
  max-width: 1180px;
  margin: 70px auto;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, #f5fbfa, #fffaf2);
  box-shadow: 0 18px 44px rgba(23, 43, 41, 0.07);
}

.home-deep-link h2 {
  margin-top: 8px;
  font-size: clamp(29px, 3vw, 42px);
  line-height: 1.04;
}

.home-deep-link > p {
  color: var(--muted);
  line-height: 1.55;
}

.home-deep-link .button {
  white-space: nowrap;
}

.about-next-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.about-next-links a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px 12px;
  align-items: center;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(23, 43, 41, 0.05);
}

.about-next-links small {
  grid-column: 1 / -1;
  color: var(--teal);
  font-weight: 850;
  letter-spacing: 0.03em;
}

.about-next-links strong {
  font-family: var(--serif);
  font-size: 21px;
}

.about-next-links .button-icon {
  width: 18px;
  height: 18px;
}

.content-page-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 76px;
  margin: 0 auto;
  padding: 76px 0 110px;
}

main > .content-page-shell {
  width: calc(100% - 88px);
  max-width: 1180px;
}

.content-page-shell > * {
  min-width: 0;
}

.content-page-hero {
  max-width: 820px;
}

.content-page-hero--split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.78fr);
  gap: 54px;
  align-items: center;
  max-width: none;
}

.content-page-hero h1 {
  max-width: 800px;
  margin-top: 8px;
  font-size: clamp(44px, 5.4vw, 76px);
  line-height: 0.98;
}

.content-page-hero > p,
.content-page-hero > div > p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 20px;
  color: #34413e;
  font-size: 18px;
  line-height: 1.6;
}

.content-page-hero__art {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f7fbfa;
  box-shadow: 0 20px 48px rgba(23, 43, 41, 0.09);
}

.journey-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.journey-summary article,
.security-principles article {
  border-top: 2px solid rgba(35, 151, 142, 0.5);
  padding: 20px 4px 0;
}

.journey-summary span,
.security-principles span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.journey-summary h2,
.journey-summary h3,
.security-principles h2 {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: clamp(23px, 2.2vw, 30px);
  line-height: 1.08;
}

.journey-summary p,
.security-principles p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.55;
}

.content-page-section.timeline-care-section,
.content-page-section.section {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
}

.content-page-section.timeline-care-section {
  padding-top: 58px;
}

.content-page-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 38px 0;
}

.content-page-cta h2 {
  margin-top: 8px;
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.03;
}

.content-page-cta .button {
  flex: 0 0 auto;
}

.security-principles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.sharing-model {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1fr);
  gap: 60px;
  align-items: start;
  padding: 42px;
  border-radius: 20px;
  background: #eaf7f4;
}

.sharing-model h2,
.organisation-workflow h2 {
  margin-top: 8px;
  font-size: clamp(32px, 3.8vw, 50px);
  line-height: 1.02;
}

.sharing-model > div > p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.55;
}

.sharing-role-list {
  display: grid;
}

.sharing-role-list article {
  display: grid;
  gap: 6px;
  border-top: 1px solid rgba(16, 16, 16, 0.15);
  padding: 17px 0;
}

.sharing-role-list strong {
  font-size: 17px;
}

.sharing-role-list span {
  color: var(--muted);
  line-height: 1.45;
}

.content-page-features {
  margin: 0;
}

.organisation-audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.organisation-audience-card {
  overflow: hidden;
  scroll-margin-top: 96px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(23, 43, 41, 0.07);
}

.organisation-audience-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.organisation-audience-card > div {
  padding: 24px;
}

.organisation-audience-card h2 {
  font-size: 30px;
}

.organisation-audience-card p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.55;
}

.organisation-audience-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: #147c75;
  font-weight: 900;
}

.organisation-audience-card a .button-icon {
  width: 17px;
  height: 17px;
}

.organisation-workflow {
  display: grid;
  gap: 38px;
  padding: 48px;
  border-radius: 20px;
  background: linear-gradient(135deg, #eff9f7, #fff8ed);
}

.faq-page-sections {
  display: grid;
  gap: 64px;
}

.faq-page-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr);
  gap: 60px;
  scroll-margin-top: 96px;
}

.faq-page-section h2 {
  margin-top: 8px;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.04;
}

.auth-shell,
.account-shell {
  display: grid;
  grid-template-columns: minmax(320px, 0.75fr) minmax(360px, 0.85fr);
  gap: 54px;
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
  padding: 86px 44px 120px;
}

.auth-shell {
  padding-top: 72px;
  padding-bottom: 76px;
}

.auth-shell h1,
.account-shell h1 {
  max-width: 620px;
  font-size: clamp(42px, 4.8vw, 68px);
}

.auth-shell p,
.account-shell p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.auth-copy {
  position: sticky;
  top: 100px;
}

.auth-assurance-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.auth-assurance-list span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #2d3532;
  font-size: 15px;
  font-weight: 850;
}

.auth-assurance-list .button-icon {
  width: 18px;
  height: 18px;
  color: var(--teal);
}

.eyebrow {
  color: var(--teal) !important;
  font-size: 13px !important;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-panel,
.account-grid article {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(23, 43, 41, 0.08);
}

.auth-panel {
  padding: 30px;
}

.auth-shell--simple {
  display: block;
  max-width: 680px;
  padding-top: 72px;
  padding-bottom: 96px;
}

.auth-shell--simple .auth-copy {
  position: static;
  max-width: 590px;
  margin: 0 auto 30px;
  text-align: center;
}

.auth-shell--simple .auth-copy h1 {
  max-width: none;
}

.auth-shell--simple .auth-copy p {
  max-width: 540px;
  margin-right: auto;
  margin-left: auto;
}

.auth-shell--simple .auth-panel {
  width: 100%;
  max-width: 520px;
  min-width: 0;
  margin: 0 auto;
}

.auth-shell--simple,
.auth-shell--simple .auth-copy,
.auth-shell--simple .auth-form,
.auth-shell--simple .auth-method-switch,
.auth-shell--simple .auth-method-list,
.auth-shell--simple .auth-phone-fields,
.auth-shell--simple .select-control {
  min-width: 0;
  max-width: 100%;
}

.auth-shell--simple .auth-method-button span,
.auth-shell--simple .auth-method-switch span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.auth-shell--simple .auth-form .button {
  width: 100%;
  margin-top: 4px;
}

.onboarding-shell .auth-panel,
.claim-panel {
  min-width: 0;
}

.auth-choice-fieldset {
  display: grid;
  gap: 10px;
  margin: 0;
  border: 0;
  padding: 0;
}

.auth-choice-fieldset legend {
  margin-bottom: 8px;
  font-weight: 850;
}

.auth-choice-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.auth-choice-row label,
.auth-consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  line-height: 1.45;
}

.auth-choice-row label:has(input:checked) {
  border-color: var(--teal);
  background: var(--teal-soft);
  color: #147c75;
  font-weight: 850;
}

.auth-choice-row input,
.auth-consent-row input {
  flex: 0 0 auto;
  margin-top: 3px;
}

.claim-shell .result-facts {
  margin-bottom: 22px;
}

.auth-method-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  margin-bottom: 24px;
  border: 1.5px solid #c9cec9;
  border-radius: 14px;
  background: #fff;
}

.auth-method-switch a {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
  transition: background 160ms ease, color 160ms ease;
}

.auth-method-switch a + a {
  border-left: 1.5px solid #c9cec9;
}

.auth-method-switch a.active {
  background: var(--teal-soft);
  color: #147c75;
}

.auth-method-switch a:hover {
  background: #eef8f6;
  color: #147c75;
}

.auth-method-switch a:focus-visible {
  z-index: 1;
  outline: 3px solid rgba(43, 156, 147, 0.28);
  outline-offset: -3px;
}

.auth-method-switch .button-icon {
  width: 18px;
  height: 18px;
}

.auth-form {
  display: grid;
  gap: 12px;
}

.auth-field {
  display: grid;
  min-width: 0;
  gap: var(--form-label-gap);
}

.auth-phone-fields {
  display: grid;
  gap: var(--form-label-gap);
}

.auth-phone-labels,
.auth-phone-control-group {
  display: grid;
  grid-template-columns: minmax(116px, 0.72fr) minmax(0, 1.28fr);
}

.auth-phone-labels label {
  min-width: 0;
}

.auth-phone-control-group {
  overflow: hidden;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.auth-phone-control-group > * + * {
  border-left: 1.5px solid var(--line) !important;
}

.auth-form .auth-phone-control-group .select-input,
.auth-form .auth-phone-control-group input[type="tel"] {
  min-width: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
}

.auth-phone-control-group:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(43, 156, 147, 0.15);
}

.auth-code-panel {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.auth-code-panel > p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.whatsapp-enrollment {
  margin-top: 22px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.whatsapp-enrollment h3 {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  letter-spacing: 0;
}

.whatsapp-enrollment > p {
  margin: 7px 0 16px;
  font-size: 14px;
  line-height: 1.45;
}

.whatsapp-enrollment .button {
  justify-self: start;
}

.auth-form + .auth-form,
.auth-panel .text-action {
  margin-top: 24px;
}

.auth-form label {
  color: #2d3532;
  font-size: 14px;
  font-weight: 850;
}

.auth-form input[type="email"],
.auth-form input[type="tel"],
.auth-form input[type="text"] {
  width: 100%;
  min-height: 54px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0 16px;
  color: var(--ink);
  font: inherit;
}

.auth-form input:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(43, 156, 147, 0.15);
}

.auth-panel-note {
  margin-top: 16px !important;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: var(--muted);
  font-size: 14px !important;
  line-height: 1.45 !important;
}

.flash {
  margin: 0 0 18px !important;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px !important;
  font-weight: 800;
}

.flash.notice {
  background: var(--teal-soft);
  color: #147c75;
}

.flash.alert {
  background: var(--orange-soft);
  color: #9d5f00;
}

.account-header {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.account-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  min-width: 0;
}

.dashboard-home {
  max-width: 1180px;
}

.dashboard-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-grid article {
  min-width: 0;
  padding: 28px;
}

.account-grid h2 {
  font-size: 30px;
}

.account-grid ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.account-grid li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.account-grid li a {
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
}

.account-grid li > span:first-child {
  color: var(--ink);
  font-weight: 850;
}

.case-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 86px 44px 170px;
}

.case-titlebar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 30px;
}

.case-titlebar h1 {
  max-width: 720px;
  font-size: clamp(42px, 5vw, 72px);
}

.case-titlebar p {
  max-width: 680px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.case-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.case-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.case-card,
.empty-state,
.case-summary article,
.case-panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(23, 43, 41, 0.08);
}

.case-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 24px;
  color: var(--ink);
  text-decoration: none;
}

.case-card h2 {
  font-size: 25px;
}

.case-card p,
.case-card small,
.muted-copy {
  color: var(--muted);
  line-height: 1.55;
}

.case-status,
.pill {
  width: fit-content;
  border: 1px solid rgba(43, 156, 147, 0.28);
  border-radius: 999px;
  background: var(--teal-soft);
  padding: 6px 10px;
  color: #147c75;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.empty-state {
  max-width: 620px;
  padding: 34px;
}

.empty-state h2,
.case-panel h2 {
  font-size: 28px;
}

.empty-state p {
  margin: 12px 0 22px;
  color: var(--muted);
  line-height: 1.55;
}

.case-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.case-summary article {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 20px;
}

.case-summary-link {
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.case-summary-link article {
  height: 100%;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.case-summary-link:hover article,
.case-summary-link:focus-visible article {
  border-color: var(--teal);
  box-shadow: 0 20px 46px rgba(23, 43, 41, 0.13);
  transform: translateY(-2px);
}

.case-summary-link small {
  color: var(--teal);
  font-size: 12px;
  font-weight: 850;
}

.case-summary span,
.panel-heading span,
.case-task-list span,
.document-list span,
.people-list span,
.case-timeline time {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.case-summary strong {
  font-size: 26px;
  overflow-wrap: anywhere;
}

.case-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
}

.estate-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
}

.case-panel {
  min-width: 0;
  padding: 26px;
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.case-task-list,
.case-timeline,
.document-list,
.people-list,
.estate-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-task-list li,
.document-list li,
.people-list li,
.estate-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.case-task-list li > div,
.document-list li,
.people-list li,
.estate-list li > div {
  min-width: 0;
}

.case-task-list strong,
.document-list strong,
.people-list strong,
.estate-list strong {
  display: block;
  overflow-wrap: anywhere;
}

.estate-list small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.45;
}

.case-timeline li {
  border-left: 3px solid var(--teal-soft);
  padding-left: 14px;
}

.case-timeline strong {
  display: block;
  margin-top: 4px;
}

.case-timeline p {
  margin-top: 6px;
  color: var(--ink);
  line-height: 1.5;
}

.case-note-form,
.case-share-form,
.document-upload-form,
.estate-workstream-form,
.referral-form {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.case-note-form label,
.case-share-form label,
.document-upload-form label,
.estate-workstream-form label,
.referral-form label {
  color: #2d3532;
  font-size: 14px;
  font-weight: 850;
}

.case-note-form input,
.case-note-form textarea,
.case-share-form input,
.case-share-form select,
.document-upload-form input,
.document-upload-form select,
.estate-workstream-form input,
.estate-workstream-form select,
.referral-form input,
.referral-form select {
  width: 100%;
  min-height: 50px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
  color: var(--ink);
  font: inherit;
}

.case-note-form textarea {
  min-height: 112px;
  padding: 13px 14px;
  resize: vertical;
}

.admin-checkbox-row {
  display: flex !important;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
}

.admin-checkbox-row input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--teal);
}

.admin-checkbox-row span,
.admin-checkbox-row small,
.admin-delivery-log {
  display: grid;
  gap: 3px;
}

.admin-checkbox-row small,
.admin-delivery-log span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.admin-client-timeline {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.admin-delivery-log {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.admin-document-list li {
  align-items: flex-start;
}

.admin-document-controls {
  justify-content: flex-end;
}

.admin-document-controls .select-input {
  min-width: 140px;
}

.referral-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
}

.utm-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.inline-admin-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.inline-admin-form .select-input {
  min-width: 150px;
}

.document-upload-form input[type="file"] {
  min-height: auto;
  padding: 13px;
  background: #fff;
}

.icon-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--teal);
  cursor: pointer;
}

.service-shell,
.intake-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 86px 44px 120px;
}

.service-hero,
.intake-copy {
  min-width: 0;
  max-width: 760px;
}

.service-hero h1,
.intake-copy h1 {
  margin: 0;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.94;
  overflow-wrap: break-word;
}

.service-hero p,
.intake-copy p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 48px;
}

.service-card {
  display: grid;
  min-height: 280px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(23, 43, 41, 0.08);
}

.service-card:hover,
.service-card:focus-visible {
  border-color: rgba(43, 156, 147, 0.5);
  outline: 0;
  transform: translateY(-2px);
}

.service-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  background: var(--teal-soft);
  color: var(--teal);
}

.service-card h2,
.availability-panel h2,
.result-panel h2 {
  margin: 20px 0 0;
  font-size: 28px;
}

.service-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.service-card small {
  align-self: end;
  margin-top: 28px;
  color: #2d3532;
  font-weight: 850;
}

.guide-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 86px 44px 140px;
}

.guide-hero {
  max-width: 780px;
}

.guide-hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.94;
}

.guide-hero p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 48px;
}

.guide-card {
  display: grid;
  gap: 12px;
  min-height: 270px;
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(23, 43, 41, 0.08);
}

.guide-card:hover,
.guide-card:focus-visible {
  border-color: rgba(43, 156, 147, 0.5);
  outline: 0;
  transform: translateY(-2px);
}

.guide-card h2 {
  margin: 0;
  font-size: 25px;
}

.guide-card p,
.guide-card small,
.guide-article p,
.guide-aside p {
  color: var(--muted);
  line-height: 1.55;
}

.guide-card small {
  align-self: end;
  font-weight: 800;
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 32px;
  align-items: start;
  margin-top: 56px;
}

.guide-article {
  display: grid;
  gap: 34px;
  min-width: 0;
}

.guide-article section {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.guide-article h2,
.guide-aside h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
}

.guide-article p {
  max-width: 720px;
  margin-top: 12px;
  font-size: 18px;
}

.guide-aside {
  display: grid;
  gap: 16px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  background: var(--soft);
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
  gap: 24px;
  align-items: start;
}

.quote-line-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.quote-line-list li,
.quote-total,
.payment-details div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.quote-line-list span,
.quote-line-list strong,
.quote-total strong,
.payment-details dd {
  overflow-wrap: anywhere;
}

.quote-total {
  margin-top: 20px;
  border-bottom: 0;
  padding-top: 18px;
  padding-bottom: 0;
  font-size: 22px;
}

.payment-panel {
  max-width: 760px;
}

.payment-details {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
}

.payment-details dt {
  color: var(--muted);
  font-weight: 800;
}

.payment-details dd {
  margin: 0;
  font-weight: 850;
  text-align: right;
}

.service-detail,
.intake-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.62fr);
  gap: 54px;
  align-items: start;
}

.service-actions {
  margin-top: 28px;
}

.availability-panel,
.result-panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(23, 43, 41, 0.08);
}

.availability-panel ul {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.availability-panel li,
.result-panel dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 0 0 14px;
}

.availability-panel span,
.result-panel dd {
  color: var(--teal);
  font-weight: 900;
}

.intake-panel {
  min-width: 0;
}

.select-input {
  width: 100%;
  min-height: 54px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0 16px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.select-input:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(43, 156, 147, 0.15);
}

.intake-checks {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
}

.intake-checks legend {
  padding: 0 8px;
  color: #2d3532;
  font-size: 14px;
  font-weight: 850;
}

.intake-checks label {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.4;
}

.intake-checks input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--teal);
}

.intake-wizard-page {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  padding-bottom: 130px;
  background: #f5faf8;
}

.intake-wizard-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  overflow: hidden;
  min-height: 300px;
  place-items: center;
  border-bottom: 1px solid rgba(35, 151, 142, 0.18);
  background: var(--teal-soft);
}

.intake-wizard-hero::before,
.intake-wizard-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.intake-wizard-hero::before {
  z-index: -2;
  background-image: var(--intake-hero-image);
  background-position: center;
  background-size: cover;
  opacity: 0.38;
  filter: saturate(0.72) contrast(0.86);
}

.intake-wizard-hero::after {
  z-index: -1;
  background: linear-gradient(90deg, rgba(232, 245, 242, 0.72), rgba(248, 250, 246, 0.92) 30%, rgba(248, 250, 246, 0.94) 70%, rgba(232, 245, 242, 0.72));
}

.intake-wizard-hero__copy {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 44px));
  padding: 38px 0 88px;
  text-align: center;
}

.intake-wizard-hero__copy h1 {
  max-width: 880px;
  margin: 0 auto;
  font-size: clamp(52px, 5.4vw, 76px);
  line-height: 0.96;
  overflow-wrap: anywhere;
}

.intake-wizard-hero__lead {
  max-width: 720px;
  margin: 18px auto 0;
  color: #213b36;
  font-size: clamp(21px, 2.2vw, 29px);
  font-weight: 800;
  line-height: 1.18;
}

.intake-wizard-hero__support {
  max-width: 620px;
  margin: 12px auto 0;
  color: #34443f;
  font-size: 16px;
  line-height: 1.5;
}

.intake-wizard-progress {
  display: grid;
  grid-template-columns: repeat(var(--intake-step-count, 3), minmax(0, 1fr));
  width: 100%;
  max-width: none;
  gap: 10px;
  margin: 28px auto 0;
  padding: 0;
  list-style: none;
}

.intake-wizard-progress li {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-content: start;
  gap: 7px;
  min-width: 0;
  border-bottom: 2px solid rgba(16, 16, 16, 0.13);
  padding: 0 3px 10px;
  color: #52625e;
  font-size: 14px;
  font-weight: 850;
  text-align: center;
}

.intake-wizard-progress__number {
  display: inline-grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 12px;
}

.intake-wizard-progress__label {
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  line-height: 1.15;
}

.intake-wizard-progress li.active {
  border-color: var(--teal);
  color: #147c75;
}

.intake-wizard-progress li.active .intake-wizard-progress__number {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.intake-wizard-progress li.done {
  border-color: rgba(43, 156, 147, 0.42);
  color: #47615c;
}

.intake-wizard-progress li.done .intake-wizard-progress__number {
  border-color: rgba(43, 156, 147, 0.72);
  background: var(--teal-soft);
  color: #147c75;
}

.intake-wizard-panel {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 44px));
  min-height: 510px;
  margin: -72px auto 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 34px;
  background: #fff;
  box-shadow: 0 26px 64px rgba(23, 43, 41, 0.14);
}

.intake-wizard-panel,
.intake-wizard-form,
.intake-wizard-step,
.intake-wizard-step header,
.intake-field,
.intake-choice-fieldset,
.intake-choice-grid,
.intake-wizard-actions {
  min-width: 0;
  max-width: 100%;
}

.intake-wizard-panel > .intake-wizard-progress {
  margin: 0 auto 24px;
}

.intake-result-panel {
  display: grid;
  min-height: 0;
  gap: 26px;
}

.intake-result-panel .intake-wizard-progress__number .button-icon {
  width: 14px;
  height: 14px;
}

.intake-result-panel__header > span {
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.intake-result-panel__header h2 {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.04;
}

.intake-result-panel__header p {
  margin-top: var(--heading-copy-gap);
  color: var(--muted);
  line-height: 1.5;
}

.intake-result-steps {
  border-radius: 14px;
  padding: 22px;
  background: var(--teal-soft);
}

.intake-result-steps h3 {
  margin: 0 0 16px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 900;
}

.intake-result-steps ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.intake-result-steps li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
}

.intake-result-steps li > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #147c75;
  font-size: 12px;
  font-weight: 900;
}

.intake-result-steps li p {
  margin: 3px 0 0;
  line-height: 1.45;
}

.intake-result-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.intake-result-summary > div {
  display: grid;
  min-width: 0;
  gap: 5px;
  padding: 16px;
}

.intake-result-summary > div + div {
  border-left: 1px solid var(--line);
}

.intake-result-summary dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.intake-result-summary dd {
  margin: 0;
  color: #147c75;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.intake-result-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.intake-result-actions > :only-child {
  grid-column: 1 / -1;
}

.intake-result-actions .button {
  width: 100%;
  min-width: 0;
  min-height: 54px;
}

.intake-result-security-note {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  color: var(--muted);
}

.intake-result-security-note .button-icon {
  width: 19px;
  height: 19px;
  color: var(--teal);
}

.intake-result-security-note p {
  margin: 0;
  line-height: 1.5;
}

.intake-result-security-note strong {
  color: #2d3532;
}

.intake-wizard-form,
.intake-wizard-step {
  display: grid;
  gap: 24px;
}

.intake-wizard-step header > span {
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.intake-wizard-step header h2 {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.04;
}

.intake-wizard-step header p {
  margin-top: var(--heading-copy-gap);
  color: var(--muted);
  line-height: 1.5;
}

.intake-question-help {
  position: relative;
  width: fit-content;
  margin-top: 12px;
}

.intake-question-help summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #147c75;
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
  list-style: none;
}

.intake-question-help summary::-webkit-details-marker {
  display: none;
}

.intake-question-help summary > span {
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 12px;
}

.intake-question-help[open] {
  width: 100%;
}

.intake-question-help[open] > p {
  max-width: 560px;
  margin-top: 9px;
  border-left: 3px solid var(--teal);
  border-radius: 0 8px 8px 0;
  background: var(--teal-soft);
  padding: 10px 12px;
  color: #34443f;
  font-size: 13px;
  line-height: 1.45;
}

.intake-field {
  display: grid;
  gap: var(--form-label-gap);
}

.intake-field label,
.intake-field-label,
.intake-choice-fieldset legend {
  color: #2d3532;
  font-size: 14px;
  font-weight: 850;
}

.intake-phone-fields {
  display: grid;
  grid-template-columns: minmax(132px, 0.72fr) minmax(0, 1.28fr);
  gap: 10px;
}

.intake-phone-fieldset {
  margin: 0;
  border: 0;
  padding: 0;
}

.intake-phone-labels,
.intake-phone-control-group {
  display: grid;
  grid-template-columns: minmax(112px, 0.65fr) minmax(0, 1.35fr);
}

.intake-phone-labels {
  gap: 0;
  color: #2d3532;
  font-size: 13px;
  font-weight: 850;
}

.intake-phone-labels span {
  padding: 0 14px;
}

.intake-phone-control-group {
  overflow: hidden;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.intake-phone-control-group > * + * {
  border-left: 1px solid var(--line) !important;
}

.intake-wizard-form .intake-phone-control-group .select-input,
.intake-wizard-form .intake-phone-control-group input[type="tel"] {
  min-width: 0;
  border: 0;
  border-radius: 0;
  outline-offset: -3px;
}

.intake-phone-control-group:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(43, 156, 147, 0.15);
}

.intake-phone-part {
  display: grid;
  min-width: 0;
  gap: var(--form-label-gap);
}

.intake-idd-select {
  width: 100%;
}

.intake-wizard-form input[type="email"],
.intake-wizard-form input[type="tel"],
.intake-wizard-form input[type="text"],
.intake-wizard-form .select-input {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 56px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0 16px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.intake-wizard-form input:focus,
.intake-wizard-form .select-input:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(43, 156, 147, 0.15);
}

.select-control {
  position: relative;
}

.intake-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 50px !important;
}

.select-control__icon {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 19px;
  height: 19px;
  color: var(--teal);
  pointer-events: none;
  transform: translateY(-50%) rotate(90deg);
}

.intake-choice-fieldset {
  display: grid;
  gap: 10px;
  margin: 0;
  border: 0;
  padding: 0;
}

.intake-choice-fieldset > legend {
  margin-bottom: var(--form-label-gap);
}

.intake-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 10px;
}

.intake-choice-grid--responses {
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
}

.intake-response-fieldset .intake-choice-option__body {
  align-items: center;
  min-height: 92px;
}

.intake-choice-option {
  position: relative;
  display: block;
  height: 100%;
  cursor: pointer;
}

.intake-choice-option > input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.intake-choice-option__body {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  height: 100%;
  min-height: 86px;
  box-sizing: border-box;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 15px;
  background: #fff;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.intake-choice-option__body .button-icon {
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  color: var(--teal);
}

.intake-choice-option__body strong,
.intake-choice-option__body small {
  display: block;
  overflow-wrap: anywhere;
}

.intake-choice-option__body strong {
  color: var(--ink);
  font-size: 15px;
}

.intake-choice-option__body small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.intake-choice-option:hover .intake-choice-option__body,
.intake-choice-option > input:checked + .intake-choice-option__body {
  border-color: var(--teal);
  background: var(--teal-soft);
}

.intake-choice-option > input:focus-visible + .intake-choice-option__body {
  outline: 3px solid rgba(43, 156, 147, 0.18);
  outline-offset: 2px;
}

.intake-contact-choice {
  margin-top: 2px;
}

.intake-privacy-note {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #40504c;
  font-size: 13px;
  line-height: 1.4;
}

.intake-privacy-note .button-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--teal);
}

.intake-wizard-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.intake-wizard-actions .ghost {
  margin-right: auto;
}

.intake-wizard-actions .ghost .button-icon {
  transform: rotate(180deg);
}

.intake-wizard-actions .button:disabled {
  border-color: #cfd8d5;
  background: #e7ecea;
  color: #78827f;
  cursor: not-allowed;
  box-shadow: none;
  opacity: 1;
  transform: none;
}

.intake-wizard-assurances {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 30px;
  width: min(880px, calc(100% - 44px));
  margin: 30px auto 0;
  color: #40504c;
  font-size: 13px;
  font-weight: 800;
}

.intake-wizard-assurances span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.intake-wizard-assurances .button-icon {
  width: 18px;
  height: 18px;
  color: var(--teal);
}

.result-panel dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.result-panel dt {
  color: var(--muted);
  font-weight: 800;
}

.result-panel dd {
  margin: 0;
  text-align: right;
}

.result-actions {
  margin-top: 28px;
}

.service-page-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 70px 44px 140px;
}

.service-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.5fr);
  grid-template-areas:
    "copy form"
    "media form";
  gap: 28px 34px;
  align-items: start;
}

.service-hero-copy {
  grid-area: copy;
  max-width: 760px;
}

.service-hero-copy h1 {
  margin: 0;
  font-size: clamp(46px, 6vw, 82px);
  line-height: 0.92;
}

.service-hero-copy p,
.service-story-section p,
.service-section-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.service-proof-row,
.service-auth-methods,
.result-auth-strip div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.service-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.service-proof-row span,
.service-auth-methods span,
.result-auth-strip span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(43, 156, 147, 0.22);
  border-radius: 999px;
  background: var(--teal-soft);
  padding: 8px 11px;
  color: #147c75;
  font-size: 13px;
  font-weight: 900;
}

.service-proof-row .button-icon {
  width: 17px;
  height: 17px;
}

.service-hero-media {
  grid-area: media;
  min-height: 390px;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #fffaf1;
  box-shadow: 0 18px 44px rgba(23, 43, 41, 0.08);
}

.service-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  object-position: center;
  animation: gentlePan 12s ease-in-out infinite alternate;
}

.service-hero-media--probate img,
.service-hero-media--estate-administration img,
.service-hero-media--funeral-arrangement img,
.service-hero-media--funeral img {
  object-position: 62% center;
}

.service-start-panel {
  grid-area: form;
  position: sticky;
  top: 96px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 26px;
  box-shadow: 0 20px 50px rgba(23, 43, 41, 0.12);
}

.service-start-panel h2,
.service-story-section h2,
.service-benefit-section h2,
.service-faq-section h2,
.case-progress-copy h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.02;
}

.service-start-panel > p {
  color: var(--muted);
  line-height: 1.5;
}

.service-start-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.service-start-form__note {
  margin: 2px 0 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.intake-field--single-question {
  max-width: 520px;
}

.service-start-form label,
.service-mini-checks legend,
.service-consent-line {
  color: #2d3532;
  font-size: 13px;
  font-weight: 850;
}

.service-start-form input[type="text"],
.service-start-form input[type="email"],
.service-start-form input[type="tel"] {
  width: 100%;
  min-height: 50px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
  color: var(--ink);
  font: inherit;
}

.service-mini-checks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 2px 0;
  padding: 14px;
}

.service-mini-checks label,
.service-consent-line {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 9px;
  align-items: start;
  color: var(--muted);
  line-height: 1.35;
}

.service-consent-line input,
.service-mini-checks input {
  accent-color: var(--teal);
}

.service-auth-methods {
  margin-top: 16px;
}

.service-auth-methods span {
  background: #fff;
}

.service-story-section,
.service-benefit-section,
.service-faq-section {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  border-top: 1px solid var(--line);
  margin-top: 70px;
  padding-top: 54px;
}

.service-step-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-step-strip article,
.service-benefit-grid article {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(23, 43, 41, 0.07);
}

.service-step-strip article,
.service-benefit-grid article {
  padding: 22px;
}

.service-step-strip span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-weight: 900;
}

.service-step-strip p,
.service-benefit-grid p {
  margin: 14px 0 0;
  color: var(--ink);
  font-weight: 760;
  line-height: 1.45;
}

.service-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-availability-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 52px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.service-availability-label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.service-country-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-country-list li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 14px;
}

.service-country-flag {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 16px rgba(23, 43, 41, 0.08);
  font-size: 22px;
  line-height: 1;
}

.service-country-pending {
  color: var(--muted) !important;
}

.result-auth-strip {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.result-auth-strip p {
  color: var(--muted);
  line-height: 1.5;
}

.auth-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.auth-option {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 12px 13px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.auth-option:hover,
.auth-option:focus-visible,
.auth-option.active {
  border-color: rgba(35, 151, 142, 0.38);
  background: var(--teal-soft);
  color: #147c75;
  outline: 0;
}

.auth-option.muted {
  background: #f8f7f3;
  color: var(--muted);
}

.auth-option .button-icon {
  width: 18px;
  height: 18px;
}

.auth-option span {
  min-width: 0;
}

.auth-help-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.auth-help-links a {
  color: #147c75;
  font-size: 14px;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.auth-method-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  text-align: center;
}

.auth-method-divider::before,
.auth-method-divider::after {
  height: 1px;
  flex: 1;
  background: var(--line);
  content: "";
}

.auth-method-list {
  display: grid;
  gap: 10px;
}

.auth-method-list > [data-controller="passkey"],
.auth-method-list button.auth-method-button {
  width: 100%;
  min-width: 0;
}

.auth-method-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
}

.auth-method-message {
  min-height: 0;
  margin: 6px 0 0;
  color: #8f3028;
  font-size: 13px;
  line-height: 1.4;
}

.auth-method-message:empty {
  display: none;
}

.passkey-enrollment {
  margin-top: 22px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.passkey-enrollment h3,
.passkey-enrollment p {
  margin-top: 0;
}

.security-method-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.security-method-row form {
  margin: 0;
}

.auth-method-button:hover,
.auth-method-button:focus-visible {
  border-color: rgba(35, 151, 142, 0.42);
  background: var(--teal-soft);
  color: #147c75;
  outline: 0;
}

.auth-method-button .button-icon {
  width: 19px;
  height: 19px;
}

.auth-shell--simple .auth-help-links {
  justify-content: center;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  text-align: center;
}

.case-progress-board {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  margin-bottom: 24px;
  padding: 24px;
  box-shadow: 0 18px 44px rgba(23, 43, 41, 0.08);
}

.case-progress-copy p {
  color: var(--muted);
  line-height: 1.5;
}

.case-status-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

.case-status-rail li {
  position: relative;
  display: grid;
  gap: 9px;
  justify-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.case-status-rail li::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--line);
}

.case-status-rail li:first-child::before {
  left: 50%;
  width: 50%;
}

.case-status-rail li:last-child::before {
  width: 50%;
}

.case-status-rail span {
  position: relative;
  z-index: 1;
  width: 26px;
  height: 26px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.case-status-rail .active span {
  border-color: var(--teal);
  background: var(--teal);
  box-shadow: 0 0 0 6px var(--teal-soft);
}

.case-status-rail .active strong {
  color: var(--teal);
}

.case-action-dock {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.case-action-dock a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 58px;
  border: 1px solid rgba(43, 156, 147, 0.28);
  border-radius: 14px;
  background: #fff;
  color: #147c75;
  font-weight: 900;
  text-decoration: none;
}

.case-timeline-panel {
  grid-row: span 2;
}

.people-avatar-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  justify-content: start;
}

.people-avatar-list li > span:not(.person-avatar) {
  grid-column: 2;
}

.person-avatar {
  grid-row: span 2;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 14px;
  font-weight: 900;
}

@keyframes gentlePan {
  from {
    transform: scale(1.02) translate3d(-6px, 0, 0);
  }

  to {
    transform: scale(1.06) translate3d(8px, -4px, 0);
  }
}

.will-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 0.7fr);
  gap: 54px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
  padding: 86px 44px 120px;
}

.will-copy {
  min-width: 0;
  max-width: 760px;
}

.will-copy h1 {
  margin: 0;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.94;
  overflow-wrap: break-word;
}

.will-copy p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.will-panel,
.will-result {
  min-width: 0;
}

.draft-text {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  background: var(--soft);
  color: #26312d;
  font: 14px/1.65 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  white-space: pre-wrap;
}

.checklist {
  display: grid;
  gap: 10px;
  margin: 18px 0 28px;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.5;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header,
  .site-header-inner {
    min-height: 64px;
  }

  .site-header-inner {
    grid-template-columns: 54px 1fr 54px;
    padding: 8px 18px;
    gap: 0;
  }

  .menu-button {
    display: inline-flex;
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    position: relative;
    z-index: 31;
    border-radius: 14px;
    border-color: var(--ink);
    background: transparent;
    color: var(--ink);
    box-shadow: none;
  }

  .menu-button:hover,
  .menu-button:focus-visible {
    border-color: var(--ink);
    background: rgba(23, 43, 41, 0.06);
    color: var(--ink);
    outline: 2px solid rgba(23, 43, 41, 0.2);
    outline-offset: 2px;
  }

  .site-header.mobile-nav-open .menu-button {
    z-index: 60;
  }

  .brand {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
  }

  .brand img {
    width: 118px;
    height: 38px;
    object-position: center;
  }

  .header-auth,
  .profile-shell {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  .header-auth {
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    min-height: 46px;
    padding: 0;
    border-radius: 14px;
  }

  .header-auth {
    color: var(--ink);
    border-color: var(--ink);
    background: transparent;
    box-shadow: none;
  }

  .header-auth:hover,
  .header-auth:focus-visible {
    color: var(--ink);
    border-color: var(--ink);
    background: rgba(23, 43, 41, 0.06);
    outline: 2px solid rgba(23, 43, 41, 0.2);
    outline-offset: 2px;
  }

  .header-auth span {
    display: none;
  }

  .profile-button {
    width: 46px;
    height: 46px;
  }

  .profile-avatar {
    width: 32px;
    height: 32px;
  }

  .account-menu {
    right: 0;
    min-width: 210px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    z-index: 55;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: min(82vw, 340px);
    height: 100dvh;
    gap: 0;
    border-left: 1px solid var(--line);
    border-radius: 0;
    background: #fff;
    padding: 18px 24px calc(28px + env(safe-area-inset-bottom));
    overflow-y: auto;
    box-shadow: -18px 0 44px rgba(23, 43, 41, 0.16);
    opacity: 0;
    pointer-events: none;
    transform: translateX(100%);
    transition: opacity 220ms ease, transform 280ms cubic-bezier(.2, .8, .2, 1), visibility 280ms;
    visibility: hidden;
  }

  .mobile-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
    visibility: visible;
  }

  .mobile-nav a,
  .mobile-nav summary {
    color: var(--ink);
  }

  .mobile-nav-group {
    border-top: 1px solid var(--line);
    padding: 12px 0;
  }

  .mobile-nav-group:first-of-type {
    border-top: 0;
    padding-top: 0;
  }

  .mobile-nav-group:last-of-type {
    border-bottom: 1px solid var(--line);
  }

  .mobile-nav summary {
    cursor: pointer;
    list-style: none;
    font-family: var(--serif);
    font-size: 23px;
    font-weight: 800;
  }

  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  .mobile-nav summary::after {
    content: "+";
    float: right;
    font-family: var(--sans);
    font-size: 20px;
    font-weight: 850;
  }

  .mobile-nav details[open] summary::after {
    content: "-";
  }

  .mobile-nav-group a {
    display: block;
    padding: 12px 0 0 12px;
    color: var(--muted);
    font-size: 15px;
    font-weight: 780;
  }

  .mobile-nav-actions {
    display: grid;
    gap: 10px;
    margin-top: 18px;
  }

  .mobile-nav .mobile-nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 999px;
    background: var(--teal);
    color: #fff;
    font-family: var(--sans);
    font-size: 15px;
  }

  .mobile-nav .mobile-nav-cta-secondary {
    border: 1.5px solid rgba(35, 151, 142, 0.34);
    background: #fff;
    color: var(--teal);
  }

  .menu-scrim {
    position: fixed;
    inset: 0;
    z-index: 45;
    display: block;
    border: 0;
    background: rgba(16, 16, 16, 0.22);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease;
  }

  .menu-scrim.visible {
    opacity: 1;
    pointer-events: auto;
  }

  .hero,
  .trust-strip,
  .timeline-care-section,
  .stakeholder-section,
  .asean-section,
  .demo-section,
  .interactive-demo-shell,
  .demo-panel,
  .demo-flow-panel,
  .product-visual-row,
  .intake-flow,
  .memorial-section,
  .partner-band,
  .answers,
  .auth-shell,
  .account-shell,
  .about-band,
  .account-grid,
  .dashboard-grid,
  .service-page-hero,
  .service-story-section,
  .service-benefit-section,
  .service-faq-section,
  .service-grid,
  .service-detail,
  .intake-shell,
  .will-shell,
  .case-list,
  .case-progress-board,
  .case-summary,
  .case-dashboard-grid,
  .estate-grid,
  .referral-grid {
    grid-template-columns: 1fr;
  }

  .timeline-care-copy,
  .auth-copy {
    position: static;
  }

  .stakeholder-grid,
  .footer-main,
  .footer-columns {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    padding: 46px 22px 34px;
  }

  .pathway-grid,
  .steps,
  .feature-row,
  .service-step-strip,
  .service-benefit-grid,
  .case-action-dock {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-page-hero {
    grid-template-areas:
      "copy"
      "media"
      "form";
  }

  .service-start-panel {
    position: static;
  }

  .intake-wizard-hero__copy {
    padding-top: 58px;
  }

  .section,
  .trust-strip,
  .timeline-care-section,
  .stakeholder-section,
  .asean-section,
  .demo-section,
  .interactive-demo-shell,
  .product-shell,
  .memorial-section,
  .partner-band,
  .answers,
  .auth-shell,
  .account-shell,
  .site-footer,
  .about-shell,
  .service-page-shell,
  .service-shell,
  .intake-shell,
  .will-shell,
  .guide-shell,
  .case-shell {
    width: calc(100% - 28px);
    max-width: none;
    margin-left: 14px;
    margin-right: 14px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .site-footer {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .product-shell,
  .memorial-section,
  .partner-band,
  .answers {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 28px;
    padding-right: 28px;
  }

  .interactive-demo-shell {
    gap: 28px;
  }

  .demo-intro {
    position: static;
  }

  .demo-stepper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demo-scenario-grid,
  .demo-detail-grid,
  .demo-contact-grid,
  .demo-live-preview {
    grid-template-columns: 1fr;
  }

  .case-shell .case-summary,
  .account-shell .account-grid {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .trust-strip {
    padding-top: 16px;
  }

  .feature-card {
    min-height: 0;
  }

  .feature-illustration {
    height: 190px;
  }

  .asean-copy {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .asean-copy a {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }

  .asean-copy p {
    max-width: 720px;
  }

  .country-grid {
    grid-template-columns: none;
  }

  .guide-grid,
  .guide-layout,
  .quote-layout {
    grid-template-columns: 1fr;
  }

  .about-principles {
    grid-template-columns: 1fr;
  }

  .home-deep-link {
    width: calc(100% - 28px);
    max-width: none;
    margin-left: 14px;
    margin-right: 14px;
  }

  main > .content-page-shell {
    width: calc(100% - 28px);
    max-width: none;
    margin-left: 14px;
    margin-right: 14px;
  }

  .content-page-shell {
    gap: 58px;
    padding-top: 52px;
    padding-bottom: 84px;
  }

  .content-page-hero--split,
  .sharing-model,
  .faq-page-section,
  .home-deep-link {
    grid-template-columns: 1fr;
  }

  .content-page-hero__art {
    max-width: 620px;
  }

  .home-deep-link {
    gap: 20px;
  }

  .home-deep-link .button {
    justify-self: start;
  }

  .security-principles,
  .about-next-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sharing-model,
  .faq-page-section {
    gap: 30px;
  }
}

@media (max-width: 640px) {
  .partner-types {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .partner-band {
    gap: 26px;
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .intake-result-panel {
    gap: 22px;
  }

  .intake-result-summary {
    grid-template-columns: 1fr;
  }

  .intake-result-summary > div {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 12px;
    padding: 13px 15px;
  }

  .intake-result-summary > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .intake-result-summary dd {
    text-align: right;
  }

  .intake-result-actions {
    grid-template-columns: 1fr;
  }

  .intake-result-actions > :only-child {
    grid-column: auto;
  }

  .content-page-shell {
    gap: 46px;
    padding-top: 38px;
    padding-bottom: 68px;
  }

  .content-page-hero h1 {
    font-size: clamp(40px, 12vw, 56px);
  }

  .journey-summary,
  .security-principles,
  .about-next-links,
  .organisation-audience-grid {
    grid-template-columns: 1fr;
  }

  .sharing-model,
  .organisation-workflow,
  .home-deep-link {
    padding: 26px 20px;
  }

  .content-page-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .content-page-cta .button {
    width: 100%;
  }

  .content-page-section .steps {
    margin-right: 0;
    margin-left: 0;
    padding-right: 0;
    padding-left: 0;
  }

  .brand img {
    width: 104px;
  }

  .site-header-inner {
    grid-template-columns: 50px 1fr 50px;
  }

  h1 {
    font-size: clamp(44px, 14vw, 62px);
  }

  .intake-wizard-page {
    padding-bottom: 108px;
  }

  .intake-wizard-hero {
    min-height: 270px;
  }

  .intake-wizard-hero__copy {
    width: calc(100% - 32px);
    padding: 30px 0 70px;
  }

  .intake-wizard-hero__copy h1 {
    font-size: clamp(42px, 12vw, 52px);
  }

  .intake-wizard-hero__lead {
    font-size: clamp(20px, 6vw, 26px);
  }

  .intake-wizard-hero__support {
    font-size: 15px;
  }

  .intake-wizard-progress {
    grid-auto-columns: minmax(88px, 1fr);
    grid-auto-flow: column;
    grid-template-columns: none;
    margin-top: 22px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .intake-wizard-progress li {
    font-size: 12px;
    scroll-snap-align: start;
  }

  .intake-wizard-progress::-webkit-scrollbar {
    display: none;
  }

  .intake-wizard-panel {
    width: calc(100% - 24px);
    max-width: calc(100vw - 24px);
    min-height: 0;
    margin-top: -64px;
    padding: 22px 16px;
  }

  .intake-wizard-panel > .intake-wizard-progress {
    margin-bottom: 16px;
  }

  .intake-wizard-progress li {
    padding-bottom: 7px;
  }

  .intake-wizard-progress__number {
    width: 24px;
    height: 24px;
  }

  .intake-wizard-form,
  .intake-wizard-step {
    gap: 14px;
  }

  .intake-choice-option__body {
    min-height: 76px;
    padding: 13px 11px;
  }

  .intake-wizard-actions {
    flex-wrap: wrap;
    align-items: stretch;
  }

  .intake-wizard-actions .button {
    min-width: 0;
    width: auto;
  }

  .intake-wizard-assurances {
    display: grid;
    width: calc(100% - 36px);
    gap: 12px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-choice-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(150px, 42vw);
    grid-template-columns: none;
    gap: 12px;
    margin-top: 18px;
    margin-left: -22px;
    margin-right: -22px;
    padding: 2px 22px 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 22px;
    scroll-snap-type: inline mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .hero-choice-card {
    min-height: 0;
    padding: 0;
    font-size: 14px;
    scroll-snap-align: start;
  }

  .hero-choice-art {
    width: 100%;
    aspect-ratio: 436 / 640;
    height: auto;
    margin: 0;
  }

  .hero-choice-card span {
    padding: 12px 12px 14px;
  }

  .guide-shell .hero-actions {
    width: 100%;
  }

  .auth-option-grid {
    grid-template-columns: 1fr;
  }

  .auth-help-links {
    display: grid;
    gap: 10px;
  }

  .product-shell,
  .memorial-section,
  .partner-band,
  .answers {
    padding-left: 18px;
    padding-right: 18px;
  }

  .button,
  .sticky-cta a {
    flex: 1;
    min-width: 0;
    padding-left: 16px;
    padding-right: 16px;
    font-size: 14px;
  }

  .product-illustration {
    border-radius: 10px;
  }

  .feature-illustration {
    height: 150px;
  }

  .country-card {
    min-height: 270px;
  }

  .country-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(248px, 78vw);
    grid-template-columns: none;
    gap: 14px;
    margin-left: -18px;
    margin-right: -18px;
    padding: 2px 18px 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 18px;
    scroll-snap-type: inline mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .country-card {
    scroll-snap-align: start;
  }

  .intake-phone-fields {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .steps {
    grid-auto-flow: column;
    grid-auto-columns: minmax(248px, 78vw);
    grid-template-columns: none;
    gap: 14px;
    margin-right: -18px;
    margin-left: -18px;
    padding: 2px 18px 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 18px;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .steps::-webkit-scrollbar {
    display: none;
  }

  .step {
    scroll-snap-align: start;
  }

  .mini-progress,
  .case-status-rail {
    grid-template-columns: 1fr;
  }

  .service-page-shell {
    padding-top: 42px;
  }

  .service-hero-copy h1 {
    font-size: clamp(42px, 13vw, 60px);
  }

  .service-hero-copy p,
  .service-story-section p,
  .service-section-copy p {
    font-size: 16px;
  }

  .service-hero-media,
  .service-hero-media img {
    min-height: 260px;
  }

  .service-story-section,
  .service-benefit-section,
  .service-faq-section {
    margin-top: 48px;
    padding-top: 38px;
  }

  .case-progress-board {
    padding: 20px;
  }

  .case-status-rail {
    gap: 12px;
  }

  .case-status-rail li {
    grid-template-columns: 28px 1fr;
    align-items: center;
    justify-items: start;
  }

  .case-status-rail li::before {
    display: none;
  }

  .demo-step {
    padding: 24px;
  }

  .demo-controls {
    flex-direction: column;
    padding: 18px 24px;
  }

  .demo-controls .button {
    width: 100%;
  }

  .product-header,
  .account-header,
  .case-titlebar,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer {
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
  }

  .without-floating-actions .site-footer {
    padding-bottom: calc(32px + env(safe-area-inset-bottom));
  }

  .stakeholder-grid,
  .footer-main,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    justify-items: center;
    text-align: center;
  }

  .footer-brand img {
    object-position: center;
  }

  .footer-brand p {
    margin-inline: auto;
  }

  .footer-icon-row {
    justify-content: center;
  }

  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
    row-gap: 34px;
  }

  .footer-columns div:nth-child(odd) {
    text-align: right;
  }

  .footer-columns div:nth-child(even) {
    text-align: left;
  }

  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
  }

  .footer-selectors {
    flex: 0 0 auto;
    justify-content: flex-end;
  }

  .footer-selectors details > div {
    right: 0;
    left: auto;
    grid-template-columns: 1fr;
    gap: 18px;
    min-width: min(290px, calc(100vw - 28px));
    padding: 20px;
  }

  .case-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .case-task-list li,
  .document-list li,
  .people-list li,
  .estate-list li {
    align-items: flex-start;
    flex-direction: column;
  }

  .utm-row {
    grid-template-columns: 1fr;
  }

  .floating-actions {
    right: 14px;
    bottom: 14px;
    left: 14px;
    gap: 8px;
  }

  .sticky-cta {
    flex: 1 1 auto;
    gap: 8px;
    transform: translateY(18px);
  }

  .sticky-cta.visible {
    transform: translateY(0);
  }

  .sticky-cta a {
    min-height: 54px;
    min-width: 0;
    flex: 1;
    border-width: 4px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 13px;
    box-shadow: 0 12px 26px rgba(23, 43, 41, 0.16);
  }

  .whatsapp-fab {
    width: 54px;
    height: 54px;
    border-width: 4px;
  }

  .floating-actions--service {
    right: 0;
    left: 0;
  }

  .sticky-cta--service {
    flex: 0 1 auto;
    width: auto;
    max-width: calc(100vw - 160px);
  }

  .sticky-cta--service .service-sticky-pill,
  .sticky-cta--service .service-sticky-pill:first-child,
  .sticky-cta--service .service-sticky-pill:last-child {
    width: max-content;
    max-width: 100%;
    min-width: 0;
  }

  .floating-actions--service .whatsapp-fab { right: 14px; }

  .fab-icon {
    width: 23px;
    height: 23px;
  }
}

@media (max-width: 480px) {
  .intake-choice-grid,
  .intake-phone-fields {
    grid-template-columns: 1fr;
  }

  .intake-wizard-progress {
    gap: 4px;
  }

  .intake-wizard-progress li {
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .intake-wizard-actions .button {
    flex: 1 1 0;
  }
}

.will-result-page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 72px 44px 150px;
}

.will-result-hero {
  max-width: 780px;
}

.will-result-hero h1 {
  max-width: 760px;
  font-size: clamp(42px, 5.2vw, 70px);
  line-height: 0.98;
}

.will-result-hero p:not(.eyebrow),
.will-next-steps p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.will-builder {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 0 150px;
  background: #fff;
}

.will-builder__hero {
  display: grid;
  min-height: 410px;
  place-items: center;
  padding: 52px 24px 122px;
  background-color: #fbf7ed;
  background-image: var(--will-builder-hero-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.will-builder__intro {
  width: min(790px, 100%);
  margin: 0 auto;
  text-align: center;
}

.will-builder__intro .eyebrow {
  margin-bottom: 14px;
}

.will-builder__intro h1 {
  margin: 0;
  font-size: clamp(46px, 4.7vw, 66px);
  line-height: 0.98;
}

.will-builder__intro p:not(.eyebrow) {
  max-width: 640px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.will-builder__workspace {
  width: min(1280px, calc(100% - 48px));
  margin: -84px auto 0;
  overflow: clip;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 22px 56px rgba(23, 43, 41, 0.1);
  scroll-margin-top: 78px;
}

.will-builder__progress {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 28px 54px 24px;
  border-bottom: 1px solid var(--line);
}

.will-builder__progress::before {
  position: absolute;
  top: 43px;
  right: calc(10% + 54px);
  left: calc(10% + 54px);
  height: 1px;
  background: #cbc8bd;
  content: "";
}

.will-builder__progress button {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 9px;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0 8px;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
}

.will-builder__progress button span {
  display: inline-grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid #cbc8bd;
  border-radius: 50%;
  background: #fff;
  color: #52605b;
  font-size: 13px;
  font-weight: 850;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.will-builder__progress button strong {
  min-height: 18px;
  color: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.will-builder__progress button.active {
  color: #147c75;
}

.will-builder__progress button.active span,
.will-builder__progress button.is-complete span {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.will-builder__grid,
.will-result-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 0;
  align-items: start;
}

.result-panel,
.will-next-steps {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(23, 43, 41, 0.08);
}

.will-builder__form {
  min-height: 610px;
  padding: 38px 48px 42px;
}

.will-step {
  display: grid;
  gap: 20px;
}

.will-step:not([hidden]) {
  animation: will-step-enter 240ms ease both;
}

@keyframes will-step-enter {
  from {
    opacity: 0;
    transform: translateX(10px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.will-step__kicker {
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.will-step h2,
.result-panel h2,
.will-next-steps h2 {
  margin: 0;
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.04;
}

.will-step__lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.field-grid {
  display: grid;
  gap: 16px;
}

.field-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field-grid label,
.will-step label,
.beneficiary-row label {
  display: block;
  margin-bottom: var(--form-label-gap);
  color: #2d3532;
  font-size: 14px;
  font-weight: 850;
}

.will-builder input[type="email"],
.will-builder input[type="number"],
.will-builder input[type="text"] {
  width: 100%;
  min-height: 54px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0 15px;
  color: var(--ink);
  font: inherit;
}

.will-builder input:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(43, 156, 147, 0.15);
}

.will-guide-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.will-guide-strip div {
  display: grid;
  align-content: center;
  min-height: 84px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: var(--soft);
  color: #2d3532;
  font-size: 13px;
  font-weight: 850;
}

.will-guide-strip .button-icon {
  width: 18px;
  height: 18px;
  margin-bottom: 8px;
  color: var(--teal);
}

.will-confirmation {
  display: flex !important;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  margin: 26px 0 0 !important;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--soft);
}

.will-confirmation input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
}

.person-block,
.will-help-note {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--soft);
  padding: 18px;
}

.person-block {
  display: grid;
  gap: 12px;
}

.beneficiary-list {
  display: grid;
  gap: 12px;
}

.beneficiary-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.25fr) minmax(150px, 1fr) minmax(90px, 0.45fr) 44px;
  gap: 12px;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  background: var(--soft);
}

.beneficiary-row .icon-button {
  align-self: end;
  color: #8e3d32;
}

.beneficiary-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.total-meter {
  flex: 1;
  min-width: 220px;
}

.total-meter strong {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
}

.total-meter div {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #ece8dc;
}

.total-meter span span,
.total-meter div span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--orange);
  transition: width 180ms ease, background 180ms ease;
}

.total-meter div span.complete {
  background: var(--teal);
}

.total-meter div span.over {
  background: #bf3f34;
}

.review-flags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  border: 0;
  padding: 0;
}

.review-flags legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

.review-flags label {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  min-height: 64px;
  margin: 0 !important;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--soft);
  padding: 14px;
}

.review-flags input {
  flex: 0 0 auto;
  margin-top: 3px;
}

.will-help-note {
  color: #2d3532;
  line-height: 1.5;
}

.will-help-note p,
.visual-note p,
.will-save-panel p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.will-final-guide img,
.will-next-steps img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.will-builder__visual {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 0;
  max-height: calc(100vh - 124px);
  overflow-y: auto;
  border-left: 1px solid var(--line);
  padding: 38px 34px 42px;
  background: #fff;
}

.will-builder__visual-title {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 750;
}

.visual-note,
.will-save-panel {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 24px 0;
}

.visual-note:first-of-type {
  border-top: 0;
}

.visual-note .button-icon,
.will-builder__text-action .button-icon {
  width: 20px;
  height: 20px;
  color: var(--teal);
}

.visual-note strong,
.will-save-panel strong {
  color: #2d3532;
  font-size: 15px;
}

.will-save-panel {
  grid-template-columns: 1fr;
  gap: 12px;
}

.will-builder__text-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  border: 0;
  background: transparent;
  padding: 0;
  color: #147c75;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
}

.will-builder__text-action:hover {
  text-decoration: underline;
}

.will-save-panel small {
  min-height: 18px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
}

.will-builder__actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
}

.button.compact {
  min-height: 50px;
  padding: 0 20px;
  border-radius: 12px;
}

.form-alert {
  margin-bottom: 22px;
  border: 1px solid rgba(191, 63, 52, 0.3);
  border-radius: 14px;
  background: #fff4ef;
  padding: 16px;
}

.form-alert p {
  margin-top: 6px;
  color: #7a332a;
}

.will-result-hero {
  margin-bottom: 32px;
}

.will-status-panel,
.will-draft-panel,
.signing-panel {
  padding: 26px;
}

.will-status-panel dl {
  display: grid;
  gap: 12px;
  margin: 20px 0 28px;
}

.will-status-panel dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.will-status-panel dt {
  color: var(--muted);
  font-weight: 850;
}

.will-status-panel dd {
  margin: 0;
  text-align: right;
  font-weight: 850;
}

.will-status-panel h3 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 26px;
}

.compact-list,
.checklist {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.compact-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: var(--soft);
}

.compact-list strong {
  color: var(--muted);
  font-size: 13px;
}

.compact-list span {
  text-align: right;
  font-weight: 850;
}

.draft-text {
  max-height: 620px;
  overflow: auto;
  margin: 22px 0 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fffdf8;
  padding: 20px;
  color: #2d3532;
  font: 15px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre-wrap;
}

.will-next-steps {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(360px, 1.2fr);
  gap: 28px;
  align-items: center;
  margin-top: 24px;
  padding: 26px;
}

.signing-panel {
  margin-top: 24px;
}

.signing-panel .checklist,
.will-draft-panel .checklist {
  margin-top: 18px;
  list-style: decimal;
  padding-left: 22px;
  color: #2d3532;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .will-result-page {
    padding: 48px 22px 150px;
  }

  .will-builder__hero {
    min-height: 390px;
    padding: 48px 22px 116px;
  }

  .will-builder__workspace {
    width: min(760px, calc(100% - 28px));
    margin-top: -76px;
  }

  .will-builder__progress {
    padding-right: 22px;
    padding-left: 22px;
  }

  .will-builder__progress::before {
    right: calc(10% + 22px);
    left: calc(10% + 22px);
  }

  .will-builder__grid,
  .will-result-grid,
  .will-next-steps {
    grid-template-columns: 1fr;
  }

  .will-builder__visual {
    position: static;
    order: 0;
    max-height: none;
    overflow: visible;
    border-top: 1px solid var(--line);
    border-left: 0;
    padding: 30px 38px 36px;
  }

  .review-flags,
  .field-grid.two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .will-result-page {
    padding-left: 10px;
    padding-right: 10px;
  }

  .will-builder {
    padding-bottom: 120px;
  }

  .will-builder__hero {
    min-height: 356px;
    padding: 44px 18px 104px;
    background-image: var(--will-builder-hero-mobile-image);
    background-position: center;
    background-size: cover;
  }

  .will-builder__intro {
    width: min(100%, 520px);
  }

  .will-builder__intro .eyebrow {
    margin-bottom: 10px;
    font-size: 11px;
  }

  .will-builder__intro h1 {
    font-size: clamp(38px, 12vw, 54px);
    line-height: 0.98;
  }

  .will-builder__intro p:not(.eyebrow) {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.45;
  }

  .will-builder__workspace {
    width: calc(100% - 20px);
    margin-top: -64px;
    border-radius: 16px;
  }

  .will-builder__progress {
    padding: 20px 8px 18px;
  }

  .will-builder__progress::before {
    top: 35px;
    right: calc(10% + 8px);
    left: calc(10% + 8px);
  }

  .will-builder__progress button {
    gap: 7px;
    padding: 0 2px;
  }

  .will-builder__progress button span {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .will-builder__progress button strong {
    font-size: 10px;
  }

  .will-builder__form,
  .result-panel,
  .will-next-steps {
    padding: 24px 18px 28px;
  }

  .will-step {
    gap: 17px;
  }

  .will-step h2 {
    font-size: clamp(31px, 9.5vw, 42px);
  }

  .will-step__lead {
    font-size: 15px;
  }

  .will-builder__visual {
    padding: 26px 18px 30px;
  }

  .beneficiary-row {
    grid-template-columns: 1fr 44px;
  }

  .beneficiary-row > div {
    grid-column: 1 / -1;
  }

  .beneficiary-row .icon-button {
    grid-column: 2;
  }

  .beneficiary-tools,
  .will-builder__actions,
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .total-meter {
    min-width: 0;
  }

  .button,
  .button.compact {
    width: 100%;
  }
}

@media (max-width: 980px) {
  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    justify-items: center;
    text-align: center;
  }

  .footer-brand img {
    object-position: center;
  }

  .footer-brand p {
    margin-inline: auto;
  }

  .footer-icon-row {
    justify-content: center;
  }

  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
    row-gap: 34px;
  }

  .footer-columns div:nth-child(odd) {
    text-align: right;
  }

  .footer-columns div:nth-child(even) {
    text-align: left;
  }

  .footer-associations {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .footer-associations__row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
  }

  .association-mark {
    width: 100%;
    min-height: 38px;
    padding: 0;
  }

  .association-mark img {
    width: 100%;
    height: 28px;
  }

  .association-mark--stacked {
    gap: 2px;
  }

  .association-mark--stacked img {
    height: 19px;
  }

  .association-mark--stacked span {
    font-size: 8px;
    line-height: 1;
  }

  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
  }
}

/* Unified illustration treatment across service pages and guided forms. */
.intake-wizard-hero {
  display: grid;
  min-height: 390px;
  place-items: stretch;
  background: #fdf9ef;
}

.intake-wizard-hero::before,
.intake-wizard-hero::after {
  display: none;
}

.intake-wizard-hero__media {
  grid-area: 1 / 1;
  width: 100%;
  height: 390px;
  margin: 0;
}

.intake-wizard-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.intake-wizard-hero__copy {
  grid-area: 1 / 1;
  align-self: center;
  justify-self: center;
  width: min(1180px, calc(100% - 88px));
  padding: 42px 0 112px;
  text-align: left;
}

.intake-wizard-hero__copy h1,
.intake-wizard-hero__lead,
.intake-wizard-hero__support {
  max-width: 520px;
  margin-right: 0;
  margin-left: 0;
}

.will-builder__hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr;
  min-height: 410px;
  padding: 0;
  overflow: hidden;
  background: #fdf9ef;
}

.will-builder__hero-media {
  grid-area: 1 / 1;
  width: 100%;
  height: 410px;
  margin: 0;
}

.will-builder__hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.will-builder__intro {
  z-index: 1;
  grid-area: 1 / 1;
  align-self: center;
  justify-self: center;
  width: min(1180px, calc(100% - 88px));
  padding: 42px 0 112px;
  text-align: left;
}

.will-builder__intro p:not(.eyebrow) {
  margin-right: 0;
  margin-left: 0;
}

@media (max-width: 700px) {
  body .service-hero-stage {
    align-items: stretch;
  }

  body .service-hero-media {
    order: -1;
    width: calc(100% + 36px);
    height: auto;
    aspect-ratio: 3 / 2;
    margin: -14px -18px 20px;
  }

  body .service-hero-media img {
    object-fit: cover;
  }

  .intake-wizard-hero {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .intake-wizard-hero__media {
    order: 0;
    height: auto;
    aspect-ratio: 3 / 2;
  }

  .intake-wizard-hero__copy {
    order: 1;
    width: 100%;
    padding: 26px 18px 104px;
    text-align: left;
  }

  .intake-wizard-hero__copy h1,
  .intake-wizard-hero__lead,
  .intake-wizard-hero__support {
    margin-right: 0;
    margin-left: 0;
  }

  .will-builder__hero {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .will-builder__hero-media {
    order: 0;
    height: auto;
    aspect-ratio: 3 / 2;
  }

  .will-builder__intro {
    order: 1;
    width: 100%;
    padding: 26px 18px 104px;
    text-align: left;
  }
}

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