/* Shared with the homepage and pricing palette. Interior pages keep their own layouts. */
:where(.site-interior, .search-results) {
  --ink: #11352f;
  --text: #363e49;
  --muted: #5b6470;
  --teal: #2f9582;
  --teal-dark: #247565;
  --mint: #43d5ba;
  --tint: #e9f6f3;
  --wash: #f4fbf9;
  --line: #dce8e4;
  --shadow: 0 1px 2px rgb(17 53 47 / 4%), 0 14px 36px -18px rgb(17 53 47 / 19%);
  --heading-font: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  --body-font: Inter, system-ui, sans-serif;
  --gutter: clamp(20px, 4vw, 32px);
  color: var(--text);
  font-family: var(--body-font);
  -webkit-font-smoothing: antialiased;
}

#main-content.site-interior :where(h1, h2, h3, h4, h5, h6) {
  color: var(--ink);
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.025em;
  text-wrap: balance;
}
#main-content.site-interior :where(h1) {
  font-weight: 800;
  font-size: clamp(2.45rem, 5vw, 4rem);
  line-height: 1.07;
}
#main-content.site-interior :where(h2) { font-size: clamp(1.85rem, 3.4vw, 2.8rem); }
#main-content.site-interior :where(h3) { font-size: clamp(1.22rem, 2.15vw, 1.65rem); }
#main-content.site-interior :where(h4) { font-size: 1.2rem; }
#main-content.site-interior :where(p, li, label, input, textarea, select, button) {
  font-family: var(--body-font);
}
#main-content.site-interior :where(p, li, dd) { overflow-wrap: break-word; }
#main-content.site-interior :where(img) { max-width: 100%; }
#main-content .report-screenshot {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 52rem;
  margin: 1rem auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  box-shadow: var(--shadow);
}
#main-content .report-screenshot img { display: block; width: 100%; height: auto; }
#main-content .report-screenshot:hover { border-color: var(--teal-dark); }
#main-content.site-interior :where([id]) { scroll-margin-top: 7rem; }
#main-content.site-interior :where(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid var(--teal-dark);
  outline-offset: 3px;
}

#main-content :is(.search-results, .not-found) {
  box-sizing: border-box;
  max-width: 54rem;
  min-height: 40vh;
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 7rem) var(--gutter);
  color: var(--text);
  font: 1.065rem/1.65 var(--body-font);
}
#main-content :is(.search-results, .not-found) h1 {
  margin: 0 0 1.5rem;
  color: var(--ink);
  font: 800 clamp(2.25rem, 4vw, 3.5rem)/1.1 var(--heading-font);
  letter-spacing: -.03em;
  overflow-wrap: anywhere;
}
#main-content .search-results ul { padding: 0; list-style: none; }
#main-content .search-results li { margin: 0; border-bottom: 1px solid var(--line); }
#main-content .search-results li a { display: block; padding: .9rem 0; }
#main-content :is(.search-results, .not-found) a {
  color: var(--teal-dark);
  text-decoration: underline;
  text-underline-offset: .18em;
}

/* Let the pricing example fit below its desktop card's intrinsic width. */
@media (max-width: 420px) {
  #llp-pricing .llp-hero .llp-wrap { grid-template-columns: minmax(0, 1fr); }
  #llp-pricing .llp-demo-top,
  #llp-pricing .llp-demo-share { flex-wrap: wrap; }
  #llp-pricing .llp-demo-score { flex-wrap: wrap; }
  #llp-pricing .llp-demo-score > :last-child { flex: 1 1 10.5rem; min-width: 0; }
}

@media (max-width: 1024px) {
  .migration-header .gutenverse-menu-wrapper {
    max-width: 100vw;
    max-height: 100dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .migration-header .gutenverse-nav-identity-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .75rem 1rem;
    border-bottom: 1px solid #dce8e4;
  }
  .migration-header :is(.gutenverse-close-menu, .gutenverse-hamburger-menu) {
    min-width: 44px;
    min-height: 44px;
  }
  .migration-header .gutenverse-close-menu {
    display: grid;
    place-items: center;
    color: #11352f;
    background: #e9f6f3;
    border-radius: 50%;
  }
  #menu-header-menu > li.menu-item-has-children { position: relative; }
  #menu-header-menu > li.menu-item-has-children > a { min-height: 44px; padding-right: 52px; }
  #menu-header-menu > li.menu-item-has-children > a::after { display: none; }
  #menu-header-menu > li > .submenu-toggle {
    position: absolute;
    inset: 0 0 auto auto;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    transform: none;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #247565;
  }
  #menu-header-menu > li > .submenu-toggle::after {
    width: 15px;
    height: 15px;
    background: currentColor;
    mask: url('/_releases/r44146408565-a1-b6acebdbc35f/assets/icons/menu-chevron.svg') center / contain no-repeat;
  }
  #menu-header-menu > li > .submenu-toggle[aria-expanded=true]::after { transform: rotate(180deg); }
}
