/* Mosaeli / clean, connected. Original typefaces and wordmark retained. */
.mosaeli-home {
  --journey-paper: #ffffff;
  --hero-paper: #ffffff;
  --journey-sage: #f6f8f9;
  --journey-lilac: #f7f8fa;
  --journey-forest: #101b42;
  --hero-line: #e3e7ed;
  --journey-soft-line: #dfe4eb;
  --section-display: clamp(2rem, 1.6rem + 1.5vw, 3rem);
  --section-subtitle: clamp(1.3rem, 1.05rem + .65vw, 1.65rem);
  background: #fff;
}
.mosaeli-home .header-top { min-height: 90px; }
.mosaeli-home .brand,
.mosaeli-home .brand img { width: 204px; height: 68px; }
.mosaeli-home .header-actions .button,
.brand-hero .button { border-radius: 7px; }
.mosaeli-home .brand-note { font-weight: 500; }
.brand-hero .hero {
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  min-height: 640px;
  padding-block: var(--space-16);
}
.brand-hero h1 {
  font-size: clamp(3rem, 1.75rem + 2.8vw, 4.35rem);
  letter-spacing: -.045em;
  line-height: 1.12;
  max-width: 12ch;
}
.brand-hero .eyebrow { color: var(--muted); font-size: .8125rem; }
.hero-story { max-width: 560px; }
.hero-emphasis { color: var(--ink); }
.brand-hero .hero-copy { max-width: 46ch; font-size: 1.0625rem; line-height: 1.75; }
.hero-art {
  position: relative;
  inset: auto;
  z-index: 0;
  width: 100%;
  height: auto;
  margin: 0;
  mask-image: none;
  display: grid;
  place-items: center;
}
.hero-art img { width: 100%; height: auto; object-fit: contain; object-position: center; }
.brand-hero .hero-points { margin-top: var(--space-5); }
.journey-story {
  border-top: 1px solid var(--hero-line);
  border-bottom: 1px solid var(--hero-line);
  padding-block: var(--space-8);
  grid-template-columns: 210px minmax(0,1fr);
}
.journey-story::before { background: #fff; }
.journey-story .figure-heading strong { font-size: 1.35rem; }
.journey-story .example-tag { font-size: .75rem; }
.journey-chapter p:not(.chapter-label) { font-size: .9375rem; }
.journey-story figcaption { font-size: .75rem; }
.chapter-no { font-size: 1.05rem; font-weight: 700; }
.vision-art, .closing-art { display: none; }
.mosaeli-home .section { padding-block: var(--space-20); }
.mosaeli-home h2 { letter-spacing: -.035em; line-height: 1.2; }
.mosaeli-home .eyebrow { letter-spacing: .045em; font-size: .8125rem; }
.mosaeli-home .workflow li { padding-block: var(--space-8); }
.workflow-no { font-size: 3.2rem; font-weight: 600; letter-spacing: -.045em; }
.mosaeli-home .workflow h3 { font-size: 1.45rem; }
.mosaeli-home .vision-section { padding-block: var(--space-20); background: #fff; }
.vision-intro { max-width: 450px; top: var(--space-12); }
.vision-intro h2 { max-width: 17ch; }
.mosaeli-home .feature { padding-block: var(--space-8); }
.mosaeli-home .feature h3 { font-size: 1.5rem; }
.mosaeli-home .feature .feature-number { font-weight: 600; }
.mosaeli-home .availability { color: #596379; font-size: .8125rem; }
.mosaeli-home .control-band { background: #101b42; padding-block: var(--space-20); }
.mosaeli-home .control-band h2 { font-size: clamp(2.2rem, 1.65rem + 1.8vw, 3.3rem); max-width: 16ch; }
.mosaeli-home .control-band .eyebrow { color: #b9c5e4; }
.mosaeli-home .control-band p,
.mosaeli-home .control-list li { color: #d9deeb; }
.mosaeli-home .control-list li { border-color: #3a476c; }
.mosaeli-home .control-list li::before { color: #b9c5e4; }
.mosaeli-home .control-list strong { font-size: 1.1rem; }
.mosaeli-home #what-mosaeli-is {
  padding-block: var(--space-20);
  background: #f3f6fb;
  border-top: 1px solid #e0e6f0;
  border-bottom: 1px solid #e0e6f0;
}
.mosaeli-home #what-mosaeli-is .section-intro { margin-bottom: var(--space-12); }
.mosaeli-home #what-mosaeli-is .section-intro .eyebrow { color: var(--brand-blue); }
.mosaeli-home .boundary-grid { gap: var(--space-16); }
.mosaeli-home .boundary-grid > div {
  border-top: 3px solid #b9c3d3;
  padding-top: var(--space-6);
}
.mosaeli-home .boundary-grid > div:first-child { border-top-color: var(--green); }
.mosaeli-home .boundary-grid h3 { font-size: 1.75rem; margin-bottom: var(--space-5); }
.mosaeli-home .boundary-grid li {
  padding: var(--space-4) 0 var(--space-4) var(--space-6);
  margin: 0;
  border-bottom: 1px solid #dfe5ef;
  color: #34425d;
  font-size: 1.0625rem;
  line-height: 1.65;
  max-width: none;
}
.mosaeli-home .boundary-grid li::before { top: 1.85rem; }
.mosaeli-home #what-mosaeli-is .notice {
  border: 0;
  margin-top: var(--space-8);
  padding: 0;
}
.mosaeli-home #what-mosaeli-is .notice p { font-size: .9375rem; line-height: 1.7; }
.mosaeli-home .closing-section {
  background: #f7f8fa;
  border-top: 1px solid var(--hero-line);
  border-bottom: 1px solid var(--hero-line);
  padding: 0;
}
.mosaeli-home .closing {
  min-height: 0;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  padding-block: var(--space-16);
  gap: var(--space-16);
}
.mosaeli-home .closing > div { max-width: 780px; }
.mosaeli-home .closing h2 { font-size: clamp(2rem, 1.5rem + 1.5vw, 2.8rem); max-width: 25ch; margin-bottom: var(--space-5); }
.mosaeli-home .closing p { max-width: 60ch; }
.mosaeli-home .closing .button { border-radius: 7px; background: var(--brand-blue); border-color: var(--brand-blue); }
.mosaeli-home .closing .button:hover { background: var(--ink); border-color: var(--ink); }
.mosaeli-home .site-footer { padding-top: var(--space-12); }
.mosaeli-home .footer-brand { width: 180px; }
.mosaeli-home .footer-brand img { width: 180px; height: 60px; }
.mosaeli-home .footer-bottom { margin-top: var(--space-8); }
/* How It Works: the navigation itself is the visual journey. */
.mosaeli-how .page-hero > .container {
  grid-template-columns: 1.2fr .8fr;
  gap: var(--space-24);
  padding-block: var(--space-16);
  align-items: center;
}
.how-intro { padding: 0; }
.mosaeli-how .page-hero h1 { font-size: clamp(3rem, 1.8rem + 2.7vw, 4.2rem); max-width: 15ch; line-height: 1.13; }
.mosaeli-how .page-hero h1 span { display: inline; color: var(--ink); }
.mosaeli-how .page-hero h1 span:nth-child(n) { color: var(--ink); }
.mosaeli-how .page-hero .lede { font-size: 1.0625rem; max-width: 45ch; }
.mosaeli-how .anchor-nav {
  grid-column: 2;
  display: block;
  margin: 0;
  border-top: 0;
}
.mosaeli-how .anchor-nav a {
  display: flex;
  gap: var(--space-8);
  font-size: 1.3rem;
  padding: var(--space-6) 0;
  min-height: 102px;
  border-bottom: 1px solid var(--hero-line);
}
.mosaeli-how .anchor-nav a::before { font-size: 1.1rem; font-weight: 600; letter-spacing: 0; }
.mosaeli-how .anchor-nav a::after { content: "↗"; font-size: 1.3rem; color: var(--ink); }
.mosaeli-how .anchor-nav a:hover { background: #f7f8fa; border-bottom-color: var(--brand-blue); }
.mosaeli-how .how-journey { padding: 0; }
.mosaeli-how .editorial {
  --chapter-background: #fff;
  padding-block: var(--space-20);
  border-top: 1px solid var(--hero-line);
  gap: var(--space-24);
}
.mosaeli-how .editorial:nth-child(n) { --chapter-background: #fff; }
.mosaeli-how .editorial > div:first-child { padding: 0; }
.mosaeli-how .editorial > div:first-child::before,
.mosaeli-how #move-forward > div:first-child::after { display: none; }
.mosaeli-how .editorial .step-label { font-size: .875rem; margin-bottom: var(--space-5); }
.mosaeli-how .editorial h2 { font-size: clamp(2rem, 1.5rem + 1.6vw, 3rem); max-width: 16ch; }
.mosaeli-how .editorial > div:last-child > p { font-size: 1rem; }
.mosaeli-how .example { border-top-color: var(--hero-line); padding-top: var(--space-6); margin-top: var(--space-6); }
.mosaeli-how .example p { font-size: 1.35rem; font-weight: 600; line-height: 1.55; }
.mosaeli-how #move-forward { min-height: 0; }
.mosaeli-how .how-journey .notice { border-top: 1px solid var(--hero-line); padding-block: var(--space-12); }
/* For Families: useful context, not a scenic metaphor. */
.mosaeli-families .page-hero { border-bottom: 1px solid var(--hero-line); }
.mosaeli-families .page-hero > .container { padding-block: var(--space-20); align-items: center; }
.mosaeli-families .page-hero h1 { font-size: clamp(2.6rem, 1.7rem + 2.4vw, 4rem); max-width: 22ch; line-height: 1.18; }
.mosaeli-families .page-hero h1 span { color: var(--ink); }
.mosaeli-families .page-hero .lede { font-size: 1.0625rem; }
.families-begin .prose p { font-size: 1rem; }
.families-begin .prose p:last-child { color: var(--ink); font-size: 1.125rem; }
.mosaeli-families .families-moments { background: #f7f8fa; }
.families-moments .section-intro { display: block; margin-bottom: var(--space-10); }
.families-moments .section-intro .eyebrow { max-width: none; margin-bottom: var(--space-5); }
.families-moments .section-intro h2 { max-width: none; }
.mosaeli-families .moments-grid { display: block; }
.mosaeli-families .moments-grid .feature {
  grid-template-columns: .8fr 1.2fr;
  gap: var(--space-24);
  padding-block: var(--space-8);
  border-top-color: var(--hero-line);
}
.mosaeli-families .moments-grid h3 { font-size: 1.45rem; font-weight: 700; line-height: 1.4; }
.mosaeli-families .moments-grid h3 span { display: inline; font: inherit; color: inherit; letter-spacing: inherit; margin: 0; }
.mosaeli-families .moments-grid .feature h3::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: var(--space-4);
  background: var(--brand-blue);
  vertical-align: .15em;
}
.mosaeli-families .moments-grid .feature:nth-child(2) h3::before { background: var(--brand-purple); }
.mosaeli-families .moments-grid .feature:nth-child(3) h3::before { background: var(--green); }
.mosaeli-families .moments-grid .feature:nth-child(4) h3::before { background: var(--brand-orange); }
.mosaeli-families .moments-grid .feature p { max-width: 60ch; }
.mosaeli-families .families-voice { padding-block: var(--space-20); background: var(--ink); }
.mosaeli-families .families-voice h2 { font-size: clamp(2.2rem, 1.65rem + 1.8vw, 3.3rem); }
.families-voice .lede { color: #c8d2e9; }
.families-voice .values li { color: #d9deeb; border-bottom-color: #3a476c; }
.families-voice .values strong { font-size: 1.1rem; }
@media (max-width: 1100px) {
  .brand-hero .hero { gap: var(--space-8); }
  .brand-hero h1 { font-size: clamp(2.7rem, 1.7rem + 2.3vw, 3.65rem); }
  .journey-story { grid-template-columns: 170px minmax(0,1fr); gap: var(--space-5) var(--space-6); }
  .mosaeli-how .page-hero > .container { gap: var(--space-12); }
  .mosaeli-how .editorial { gap: var(--space-12); }
  .mosaeli-families .moments-grid .feature { gap: var(--space-12); }
}
@media (max-width: 760px) {
  .mosaeli-home .header-top { min-height: 80px; }
  .mosaeli-home .brand, .mosaeli-home .brand img { width: 148px; height: auto; }
  .mosaeli-home .menu-toggle { border-radius: 7px; }
  .brand-hero .hero { grid-template-columns: 1fr; min-height: 0; gap: var(--space-6); padding-block: var(--space-10) var(--space-6); }
  .brand-hero h1 { font-size: clamp(2.6rem, 1.7rem + 4vw, 3.4rem); max-width: 14ch; text-wrap: balance; }
  .brand-hero .hero-copy { font-size: var(--text-base); }
  .hero-art { max-width: 370px; height: auto; width: 100%; justify-self: center; margin: 0; }
  .hero-art img { max-height: 300px; }
  .journey-story { display: block; padding-block: var(--space-8); }
  .journey-story .figure-heading strong { font-size: 1.125rem; }
  .mosaeli-home .section,
  .mosaeli-home .vision-section,
  .mosaeli-home #what-mosaeli-is,
  .mosaeli-home .control-band,
  .mosaeli-families .families-voice { padding-block: var(--space-12); }
  .mosaeli-home .workflow h3 { font-size: 1.125rem; }
  .mosaeli-home .workflow .workflow-no { font-size: 2.5rem; }
  .mosaeli-home .feature h3 { font-size: 1.25rem; }
  .mosaeli-home .closing-section { padding: 0; }
  .mosaeli-home .closing { grid-template-columns: 1fr; gap: var(--space-6); padding-block: var(--space-12); }
  .mosaeli-home .closing > div { max-width: none; }
  .mosaeli-home .closing h2 { font-size: 2rem; max-width: 20ch; }
  .mosaeli-home .closing p { max-width: none; }
  .mosaeli-home .control-band h2,
  .mosaeli-families .families-voice h2 { font-size: 2.25rem; }
  .mosaeli-home .boundary-grid { gap: var(--space-10); }
  .mosaeli-home .boundary-grid h3 { font-size: 1.5rem; }
  .mosaeli-home .boundary-grid li { font-size: 1rem; }
  .mosaeli-how .page-hero > .container { grid-template-columns: 1fr; gap: var(--space-8); padding-block: var(--space-10); }
  .mosaeli-how .page-hero h1 { font-size: 2.8rem; max-width: 13ch; }
  .mosaeli-how .page-hero .lede { font-size: var(--text-base); }
  .mosaeli-how .anchor-nav { grid-column: 1; }
  .mosaeli-how .anchor-nav a { padding-block: var(--space-4); min-height: 74px; font-size: 1.125rem; }
  .mosaeli-how .anchor-nav a:nth-child(n+3) { border-top: 0; }
  .mosaeli-how .editorial { grid-template-columns: 1fr; gap: var(--space-6); padding-block: var(--space-12); }
  .mosaeli-how .editorial h2 { font-size: 2rem; }
  .mosaeli-how .how-journey { padding: 0; }
  .mosaeli-how .example p { font-size: 1.2rem; }
  .mosaeli-families .page-hero > .container { padding-block: var(--space-10); }
  .mosaeli-families .page-hero h1 { font-size: 2.4rem; line-height: 1.2; }
  .mosaeli-families .page-hero .lede { font-size: var(--text-base); }
  .mosaeli-families .moments-grid .feature { grid-template-columns: 1fr; gap: var(--space-4); padding-block: var(--space-6); }
  .mosaeli-families .moments-grid h3 { font-size: 1.25rem; }
  .mosaeli-families .moments-grid .feature p { grid-column: 1; }
}
