/* EMCsoft landing standard v1.0; product layout remains in styles.css. */
@font-face { font-family: 'Space Grotesk'; src: url('./assets/space-grotesk.woff2') format('woff2'); font-style: normal; font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('./assets/inter-latin.woff2') format('woff2'); font-style: normal; font-weight: 100 900; font-display: swap; }
@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; --space-section: 112px; }
html { scroll-padding-top: calc(var(--header-height) + 16px); }
body { line-height: 1.65; }
.container { width: min(var(--page-max), calc(100% - var(--page-gutter) * 2)); }
h1, h2, h3 { font-weight: 600; line-height: 1.1; letter-spacing: -.035em; }
.hero h1 { font-size: var(--text-h1); font-weight: 600; line-height: 1.1; }
h3 { font-size: var(--text-h3); line-height: 1.25; letter-spacing: -.025em; }
.hero-description, .section-heading > p, .feature-main p, .feature-small p, .final-cta p { color: var(--color-body); }
.message-out > span, .record-note small { color: var(--color-body); }
.pricing-section { background: var(--color-dark); }
.button { min-height: 55px; padding: 17px 23px; gap: 17px; border: 0; border-radius: var(--radius-sm); font-weight: 600; }
.button-dark { background: var(--color-accent); }
.button-dark:hover { background: var(--color-accent-hover); }
.site-header { position: sticky; top: 0; z-index: 20; background: var(--color-paper); }
.legal-toc { top: calc(var(--header-height) + 32px); }
.legal-content h2, .legal-content h3 { scroll-margin-top: 0; }
.nav-row { height: var(--header-height); min-height: 0; gap: 24px; }
.brand { font-size: 24px; font-weight: 600; letter-spacing: -.8px; }
.brand-light { font-weight: inherit; }
.brand-mark { width: 37px; height: 37px; border-radius: 11px; }
.brand-mark .icon { width: 25px; height: 25px; }
.desktop-nav { display: flex; align-items: center; gap: 28px; }
.desktop-nav a { font-size: 13px; font-weight: 400; }
.nav-install { min-height: 44px; padding: 11px 17px; font-size: 13px; gap: 13px; }
.nav-actions { gap: 16px; flex-shrink: 0; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--color-rule); border-radius: var(--radius-sm); background: var(--color-white); }
.parallax-scene { min-width: 0; width: 100%; align-self: center; }
[data-parallax-visual] { transform-origin: center; }
.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-banner {
  --color-accent: var(--cookie-accent);
  --color-body: var(--cookie-body);
  --color-ink: var(--cookie-ink);
  --color-blue-pale: var(--cookie-pale);
}
.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; }
  .nav-row { gap: 16px; }
  .nav-actions { margin-left: auto; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 6px; flex-shrink: 0; padding: 10px; }
  .menu-toggle span { width: 22px; height: 1.5px; margin: 0; }
  .menu-toggle[aria-expanded=true] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-toggle[aria-expanded=true] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .nav-links { display: none; position: absolute; top: calc(var(--header-height) - 1px); inset-inline: 0; background: var(--color-paper); border-bottom: 1px solid var(--color-rule); padding: 18px var(--page-gutter); max-height: calc(100dvh - var(--header-height)); overflow-y: auto; }
  .nav-links.is-open { display: grid; gap: 0; }
  .nav-links a { padding: 12px 0; }
}
@media (max-width: 850px) {
  .parallax-scene { max-width: 570px; margin-inline: auto; }
}
@media (max-width: 760px) {
  :root { --space-section: 72px; }
  .hero h1 { font-size: clamp(36px, 7vw, 52px); }
  h2 { font-size: clamp(28px, 5vw, 38px); }
}
@media (max-width: 540px) {
  :root { --header-height: 70px; }
  .nav-row, .nav-actions { gap: 10px; }
  .brand { font-size: 20px; }
  .brand-mark { width: 32px; height: 32px; border-radius: 9px; margin-right: 8px; }
  .nav-install { min-height: 44px; padding: 10px 12px; font-size: 11px; }
  .nav-install .icon { display: none; }
  .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-row, .nav-actions { gap: 6px; }
  .nav-install { padding-inline: 8px; }
  .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; }
}
