/* Shared visual theme for public pages. */
:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --slate: #1d2d43;
  --ink: #203045;
  --muted: #5d6b7c;
  --line: #d5dfe9;
  --paper: #ffffff;
  --soft: #f3f6fa;
  --forest: #2563eb;
  --forest-dark: #1d4ed8;
  --forest-soft: #edf4ff;
  --yellow: #dbeafe;
  --yellow-hover: #bfdbfe;
  --yellow-soft: #eff6ff;
  --yellow-on-dark: #a9caff;
  --night: #1d2d43;
  --control-line: #a6b7ca;
  --on-dark: #f3f7fc;
  --on-dark-muted: #bdcbdc;
  --shadow: 0 12px 32px rgba(27, 49, 80, .09);
  --product-blue: #2563eb;
  --product-blue-dark: #1d4ed8;
  --product-blue-soft: #edf4ff;
  --product-ice: #f3f6fa;
  --product-line: #d5dfe9;
}

/* Shared controls: one primary action colour, quiet secondary actions. */
.lp-btn-primary,
.lp-header .lp-btn-dark {
  color: #fff;
  background: var(--product-blue);
  box-shadow: 0 4px 12px rgba(37, 99, 235, .12);
}
.lp-btn-primary:hover,
.lp-header .lp-btn-dark:hover {
  color: #fff;
  background: var(--product-blue-dark);
}
.lp-btn-ghost,
.lp-header .lp-btn-ghost {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
  box-shadow: none;
}
.lp-btn-ghost:hover,
.lp-header .lp-btn-ghost:hover {
  color: var(--product-blue-dark);
  border-color: #a9bfde;
  background: var(--product-blue-soft);
}
.lp-btn-dark { box-shadow: 0 4px 12px rgba(27, 49, 80, .1); }
.lp-eyebrow,
.lp-text-link,
.lp-text-cta { color: var(--product-blue-dark); }
.lp-eyebrow { font-weight: 650; }
.lp-eyebrow::before { background: var(--product-blue); }
.lp-eyebrow-light { color: var(--yellow-on-dark); }
.lp-eyebrow-light::before { background: var(--yellow-on-dark); }
.lp-btn:focus-visible,
.lp-app-frame:focus-visible,
.lp-lightbox-close:focus-visible,
.lp-faq summary:focus-visible,
.lp-contact-links a:focus-visible,
.lp-header .lp-mega-menu > summary:focus-visible,
.lp-header .lp-mega-panel a:focus-visible,
.lp-header .lp-mega-tab:focus-visible {
  outline-color: #60a5fa;
}

/* Navigation has its own legacy colours in public-site-header.css. */
.lp-header {
  background: rgba(255, 255, 255, .96);
  border-bottom-color: var(--line);
}
.lp-header .lp-links,
.lp-header .lp-mega-menu > summary,
.lp-header .lp-resource-links a,
.lp-header .lp-mobile-menu > summary,
.lp-header .lp-mobile-menu-panel a { color: var(--ink); }
.lp-header .lp-links,
.lp-header .lp-btn,
.lp-header .lp-mobile-menu-panel a { font-weight: 650; }
.lp-header .lp-links > a:hover,
.lp-header .lp-mega-menu[open] > summary,
.lp-header .lp-mega-menu.is-active > summary,
.lp-header .lp-mega-menu > summary:hover,
.lp-header .lp-resource-documentation svg,
.lp-header .lp-resource-blog svg,
.lp-header .lp-mobile-modules > summary,
.lp-header .lp-mobile-menu-panel .lp-mobile-all-modules { color: var(--product-blue-dark); }
.lp-header .lp-mega-panel {
  border-color: var(--line);
  border-top-color: var(--product-blue);
  box-shadow: 0 18px 40px rgba(27, 49, 80, .14);
}
.lp-header .lp-mega-intro { color: #f3f7fc; background: #20334e; }
.lp-header .lp-mega-intro small { color: #b6d0f5; }
.lp-header .lp-mega-tab[aria-selected="true"] { color: var(--product-blue-dark); }
.lp-header .lp-mega-group-head strong,
.lp-header .lp-mega-item strong,
.lp-header .lp-mega-widgets-head strong,
.lp-header .lp-mega-widget-item strong,
.lp-header .lp-mega-footer strong { color: var(--ink); font-weight: 650; }
.lp-header .lp-mega-section-head,
.lp-header .lp-mega-group-head span,
.lp-header .lp-mega-item small,
.lp-header .lp-mega-widgets-head small,
.lp-header .lp-mega-widget-item small,
.lp-header .lp-mega-footer small { color: var(--muted); }
.lp-header .lp-mega-widgets { background: var(--soft); }
.lp-header .lp-mega-widgets-head > a { color: var(--product-blue-dark); }
.lp-header .lp-mega-widget-item { border-color: var(--line); }
.lp-header .lp-mega-group + .lp-mega-group,
.lp-header .lp-resource-links,
.lp-header .lp-resource-links a,
.lp-header .lp-mega-footer,
.lp-header .lp-mobile-menu > summary,
.lp-header .lp-mobile-menu-panel,
.lp-header .lp-mobile-modules { border-color: var(--line); }
.lp-header .lp-mega-icon {
  color: var(--product-blue);
  border-color: #d5e3f7;
  background: var(--product-blue-soft);
}
.lp-header .lp-mega-footer { background: var(--soft); }
.lp-header .lp-resource-links a,
.lp-header .lp-mobile-menu > summary,
.lp-header .lp-mobile-menu-panel { background: #fff; }
.lp-header .lp-resource-links a { box-shadow: none; }
.lp-header .lp-mobile-menu-panel { box-shadow: 0 14px 32px rgba(27, 49, 80, .13); }
.lp-header .lp-mega-item:hover,
.lp-header .lp-mega-widget-item:hover,
.lp-header .lp-mobile-modules > summary:hover,
.lp-header .lp-mobile-menu-panel a:hover,
.lp-header .lp-resource-links a:hover,
.lp-header .lp-resource-links a.is-active {
  color: var(--product-blue-dark);
  border-color: #b8ccea;
  background: var(--product-blue-soft);
  box-shadow: none;
}

.lp-footer { color: #afc0d6; background: #142237; }
.lp-footer-links a,
.lp-footer-legal a { color: #d5e1f0; }
