/* EMCsoft landing standard v1.0. Cookie tokens preserve the MailSequence component. */
@font-face { font-family: 'Manrope'; src: url('assets/manrope-latin.woff2') format('woff2'); font-style: normal; font-weight: 400 800; font-display: swap; }
:root { --header-height: 88px; }
html { scroll-padding-top: calc(var(--header-height) + 16px); }
.nav-links { top: calc(var(--header-height) - 1px); }
.nav-install, .menu-toggle { flex-shrink: 0; }
.parallax-scene { min-width: 0; align-self: center; }
.conversation-map { transform-origin: center; }
.footer > div { flex-wrap: wrap; }

.cookie-banner, .cookie-settings, .cookie-announcement {
  --cookie-font: 'Manrope', sans-serif;
  --cookie-white: #fff;
  --cookie-ink: #18243d;
  --cookie-body: #46526a;
  --cookie-accent: #245be3;
  --cookie-line: #dce2ec;
  --cookie-pale: #edf2fe;
  --cookie-shadow: rgba(32, 58, 112, .09);
  font-family: var(--cookie-font);
}
.cookie-settings { border: 0; background: none; padding: 10px 0; min-height: 44px; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.cookie-settings:hover { color: var(--cookie-accent); }
.cookie-banner { position: fixed; z-index: 1000; left: 24px; bottom: max(24px, env(safe-area-inset-bottom)); width: min(520px, calc(100% - 48px)); max-height: calc(100dvh - 48px); overflow: auto; overscroll-behavior: contain; padding: 24px; background: var(--cookie-white); color: var(--cookie-ink); border-radius: 14px; box-shadow: 0 10px 48px var(--cookie-shadow); }
.cookie-banner[hidden], .cookie-banner [hidden], .cookie-settings[hidden] { display: none; }
.cookie-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 10px; }
.cookie-heading h2 { font: 700 20px/1.4 var(--cookie-font); letter-spacing: -.025em; text-wrap: initial; }
.cookie-banner > p, .cookie-details p { color: var(--cookie-body); font-size: 13px; line-height: 1.65; }
.cookie-close { display: grid; place-items: center; flex-shrink: 0; min-width: 44px; min-height: 44px; padding: 10px; border: 1px solid var(--cookie-line); border-radius: 8px; background: var(--cookie-white); }
.cookie-close:hover { background: var(--cookie-pale); }
.cookie-details { margin-top: 8px; }
.cookie-details summary { display: list-item; width: fit-content; min-height: 44px; padding-block: 10px; font-size: 13px; font-weight: 650; cursor: pointer; color: var(--cookie-accent); }
.cookie-details p { padding-bottom: 8px; }
.cookie-details a { text-decoration: underline; color: var(--cookie-accent); }
.cookie-current, .cookie-error { margin-top: 8px; }
.cookie-error { padding: 12px; background: var(--cookie-pale); border-radius: 8px; }
.cookie-actions { display: flex; gap: 12px; margin-top: 16px; }
.cookie-choice { flex: 1; min-height: 46px; padding: 10px 14px; font-size: 13px; font-weight: 650; background: var(--cookie-white); color: var(--cookie-accent); border: 1px solid var(--cookie-accent); border-radius: 8px; white-space: nowrap; }
.cookie-choice:hover { background: var(--cookie-pale); }
.cookie-choice:active, .cookie-close:active { transform: translateY(1px); }
.cookie-banner :focus-visible, .cookie-settings:focus-visible { outline: 3px solid var(--cookie-accent); outline-offset: 4px; }
.cookie-announcement { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* Keep the existing chat available without its welcome bubble covering consent controls. */
.cookie-is-open .b24-widget-button-popup { display: none !important; }

.cursor-ring, .cursor-dot { position: fixed; left: 0; top: 0; z-index: 10001; pointer-events: none; color: var(--color-accent); }
.cursor-ring[hidden], .cursor-dot[hidden] { display: none; }
.cursor-ring { width: 40px; height: 40px; margin: -20px; }
.cursor-dot { width: 6px; height: 6px; margin: -3px; }
.cursor-ring::before { content: ''; position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; border: 1px solid currentColor; border-radius: 50%; transform: translate(-50%, -50%); transition: transform var(--dur-fast); }
.cursor-dot::before { content: ''; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: currentColor; transform: translate(-50%, -50%); }
.cursor-ring.is-interactive::before { transform: translate(-50%, -50%) scale(1.4); }
.cursor-dot.is-interactive::before { width: 16px; height: 1px; border-radius: 0; }
.cursor-dot.is-interactive::after { content: ''; position: absolute; left: 50%; top: 50%; width: 1px; height: 16px; background: currentColor; transform: translate(-50%, -50%); }
.cursor-ring.is-light, .cursor-dot.is-light { color: var(--color-white); }

@media (max-width: 1000px) {
  :root { --header-height: 76px; }
  .menu-toggle { min-width: 44px; min-height: 44px; }
  .nav-links { max-height: calc(100dvh - var(--header-height)); overflow-y: auto; }
}
@media (max-width: 540px) {
  :root { --header-height: 70px; }
  .nav-install { min-height: 44px; }
  .cookie-banner { left: 12px; bottom: max(12px, env(safe-area-inset-bottom)); width: calc(100% - 24px); max-height: calc(100dvh - 24px); padding: 20px; }
  .cookie-actions { gap: 10px; }
  .cookie-choice { padding-inline: 8px; }
}
@media (max-width: 700px) {
  .cookie-banner { max-height: calc(100dvh - var(--header-height) - 112px); }
  .cookie-is-open .b24-widget-button-wrapper.b24-widget-button-position-bottom-right {
    bottom: max(50px, var(--cookie-clearance, 50px)) !important;
  }
}
@media (max-width: 359px) {
  .nav-inner { gap: 6px; }
  .site-header .brand { font-size: 16px; gap: 6px; letter-spacing: -.6px; }
  .site-header .brand-mark { width: 28px; height: 28px; }
  .site-header .brand-mark svg { width: 21px; height: 21px; }
  .nav-install { display: inline-flex; padding-inline: 8px; }
  .menu-toggle { margin-left: 0; }
  .cookie-actions { flex-direction: column; }
}
@media (max-width: 767px), (prefers-reduced-motion: reduce) {
  [data-parallax-visual] { transform: none !important; }
}
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cursor-ring, .cursor-dot { display: none; }
}
