/* Critical homepage shell — fixed overlay until React paints matching layout underneath. */
html.app-hydrated #static-landing-shell {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#static-landing-shell {
  --landing-header-h: 78px;
  --lp-ink: #14221f;
  --lp-paper: #f3f5f1;
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow-x: hidden;
  overflow-y: auto;
  padding-top: var(--landing-header-h);
  background: var(--lp-paper);
  color: var(--lp-ink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  transition: opacity 0.12s ease-out, visibility 0.12s ease-out;
}

#static-landing-shell .static-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(20, 34, 31, 0.08);
  background: rgba(243, 245, 241, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

#static-landing-shell .static-header-inner {
  width: min(1280px, calc(100% - 64px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

#static-landing-shell .static-brand img {
  display: block;
  height: 28px;
  width: auto;
  max-width: 158px;
}

#static-landing-shell .static-hero {
  position: relative;
  padding: 83px 0 88px;
  background:
    radial-gradient(
      ellipse at 82% 45%,
      rgba(161, 219, 194, 0.28),
      transparent 42%
    ),
    linear-gradient(116deg, #f3f5f1 0%, #edf3ee 100%);
}

#static-landing-shell .static-container {
  width: min(1192px, calc(100% - 64px));
  margin: 0 auto;
}

#static-landing-shell .static-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(440px, 1.06fr);
  grid-template-rows: auto auto;
  align-items: start;
  column-gap: 54px;
  row-gap: 0;
}

#static-landing-shell .static-hero-copy {
  grid-column: 1;
  grid-row: 1;
  padding: 0 0 4px;
}

#static-landing-shell .static-hero-copy h1 {
  max-width: 570px;
  margin: 25px 0 20px;
  color: #14221f;
  font-size: clamp(42px, 5.2vw, 66px);
  line-height: 1.025;
  letter-spacing: -0.06em;
  font-weight: 570;
}

#static-landing-shell .static-hero-lede {
  max-width: 490px;
  margin: 0;
  color: #5d6b66;
  font-size: 15px;
  line-height: 1.76;
}

@media (max-width: 760px) {
  #static-landing-shell {
    --landing-header-h: 68px;
  }

  #static-landing-shell .static-header-inner {
    min-height: 68px;
    width: calc(100% - 36px);
  }

  #static-landing-shell .static-container {
    width: calc(100% - 40px);
  }

  #static-landing-shell .static-hero {
    padding: 36px 0 20px;
  }

  #static-landing-shell .static-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  #static-landing-shell .static-hero-copy h1 {
    font-size: clamp(36px, 9vw, 57px);
    margin-top: 0;
  }
}
