/* Shared marketing styles. Illustrations inside the product demos use their own palette. */
body.neor-theme {
  --brand-blue: #0071f2;
  --action: #0062ce;
  --action-hover: #004eaa;
  --ink: #1b1c20;
  --midnight: #242529;
  --secondary-ink: #53565d;
  --paper: #f6f6f7;
  --ice: #f1f2f4;
  --rule: #dcdde0;
  --primary: var(--action);
  --primary-hover: var(--action-hover);
  --navy: var(--ink);
  --text: var(--ink);
  --muted: var(--secondary-ink);
  --border: var(--rule);
  --background: var(--paper);
  --display: clamp(2.1rem, 3.7vw, 3.7rem);
  --chapter: clamp(52px, 6.5vw, 96px);
  background: white;
  color: var(--ink);
}
body.neor-theme .site-header.site-header-modern {
  height: 60px; background: #fff; border-block-end: 1px solid #ededee; box-shadow: none;
}
body.neor-theme .site-header .nav-shell { max-width: 1190px; }
body.neor-theme .site-header .brand { padding: 0; border: 0; gap: 7px; }
body.neor-theme .site-header .brand img { width: 26px; height: 31px; }
body.neor-theme .site-header .brand strong { font-size: 1rem; color: var(--ink); }
body.neor-theme .site-header .nav-actions .button, body.neor-theme .marketing-home .button,
body.neor-theme .button { border-radius: 60px; }
body.neor-theme .site-header .nav-actions .button {
  min-height: 40px; padding: 8px 17px; color: #fff; background: var(--action); border-color: var(--action);
}
body.neor-theme .site-header .nav-actions .button:hover { background: var(--action-hover); }
body.neor-theme .site-header .nav-actions .button > svg { display: none; }
body.neor-theme .site-header .mobile-toggle { width: 44px; min-height: 44px; border: 0; background: transparent; color: var(--ink); }
body.neor-theme .site-header :is(.mega-menu,.small-menu) { border-radius: 12px; border-color: var(--rule); }
body.neor-theme .site-header .nav-dropdown > summary { padding-block: 15px; }
@media (min-width: 1301px) {
  body.neor-theme .site-header :is(.mega-menu,.small-menu) { top: 56px; }
}
@media (max-width: 1300px) {
  body.neor-theme .site-header #main-navigation { top: 59px; max-height: calc(100dvh - 60px); }
  body.neor-theme .site-header #main-navigation.is-open { border-bottom: 1px solid var(--rule); }
}

body.neor-theme .marketing-home > .module-rail {
  border-block: 1px solid #e9eaeb; padding: 8px 0; background: #fafafb;
}
body.neor-theme .module-rail .module-rail-list {
  display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); max-width: 1130px; gap: 0; padding: 0;
}
body.neor-theme .module-rail .home-hero-module {
  grid-column: auto; justify-self: stretch; width: auto; min-height: 64px; padding: 0; gap: 0;
  font-size: .85rem; font-weight: 480;
}
body.neor-theme .module-rail .home-hero-module a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 64px; height: 100%; gap: 6px; padding: 5px; color: #4f5258;
}
body.neor-theme .module-rail .home-hero-module a:hover { color: var(--action); }
body.neor-theme .module-rail .rail-symbol { width: 24px; height: 24px; color: inherit; }
body.neor-theme .module-rail .rail-label { min-height: 0; color: inherit; }
body.neor-theme .module-rail .home-hero-module::after { content: none; }
body.neor-theme .module-rail a:focus-visible { outline-offset: -3px; }

body.neor-theme .marketing-home .container { max-width: 1180px; }
body.neor-theme .marketing-home :is(.section-heading > h2,.workspace-intro h2,.study-heading h2,.motion-section-heading h2),
body.neor-theme .section-heading h2 {
  color: var(--ink); font-weight: 600; letter-spacing: -.052em; line-height: 1.08; text-wrap: balance;
}
body.neor-theme:dir(rtl) :is(.section-heading > h2,.study-heading h2,.motion-section-heading h2,.motion-copy h3,.page-hero h1) {
  letter-spacing: 0; line-height: 1.48;
}
body.neor-theme .marketing-home > .sidebar-showcase[data-motion-showcase] { background: white; color: var(--ink); padding-block: var(--chapter); }
body.neor-theme .marketing-home > .sidebar-showcase::before, body.neor-theme .marketing-home > .benefit-study::before { content: none; }
body.neor-theme .marketing-home > .sidebar-showcase .motion-section-heading {
  display: block; text-align: center; max-width: 48rem; margin: 0 auto clamp(24px,3.2vw,44px);
}
body.neor-theme .marketing-home > .sidebar-showcase .motion-section-heading h2 {
  max-width: none; margin: 0; color: var(--ink); text-align: center; font-size: var(--display);
}
body.neor-theme .sidebar-showcase .motion-section-heading h2 span { color: inherit; }
body.neor-theme .marketing-home > .sidebar-showcase .motion-section-heading p {
  max-width: 58ch; margin: 13px auto 0; font-size: 1.08rem; line-height: 1.55; color: var(--secondary-ink); text-wrap: balance;
}
body.neor-theme .sidebar-showcase .sidebar-tabs { gap: 5px; background: transparent; }
body.neor-theme .sidebar-showcase .sidebar-tab {
  color: var(--secondary-ink); background: var(--paper); border: 1px solid transparent; border-radius: 12px; min-height: 48px;
}
body.neor-theme .sidebar-showcase .sidebar-tab svg { color: inherit; }
body.neor-theme .sidebar-showcase .sidebar-tab:hover:not([aria-selected="true"]) { background: #ededee; color: var(--ink); border-color: transparent; }
body.neor-theme .sidebar-showcase .sidebar-tab[aria-selected="true"] { background: #292b30; color: white; border-color: #292b30; }
body.neor-theme .sidebar-showcase .sidebar-tab[aria-selected="true"] svg { color: white; }
body.neor-theme .sidebar-showcase .motion-copy h3 { color: var(--ink); }
body.neor-theme .marketing-home > .sidebar-showcase .motion-copy :is(p,li),
body.neor-theme .sidebar-showcase .motion-footer > p { color: var(--secondary-ink); }
body.neor-theme .sidebar-showcase .motion-copy li > span { background: var(--paper); color: var(--action); }
body.neor-theme .sidebar-showcase .motion-stage { border: 1px solid #e2e4e8; border-radius: 21px; background: #f6f7f9; }
body.neor-theme .sidebar-showcase .motion-control { background: white; color: var(--ink); border: 1px solid var(--rule); border-radius: 30px; }
body.neor-theme .sidebar-showcase .motion-control:hover:not(:disabled) { background: var(--paper); }
body.neor-theme .sidebar-showcase .motion-timeline { background: var(--rule); }
body.neor-theme .sidebar-showcase .motion-timeline span { background: var(--brand-blue); }

body.neor-theme .marketing-home > .benefit-study, body.neor-theme .marketing-home > .bento-benefits,
body.neor-theme .marketing-home > .featured-modules { background: var(--paper); }
body.neor-theme .study-heading h2 span:last-child, body.neor-theme .workspace-intro h2 em,
body.neor-theme .benefit-study .choice-title {
  font-family: inherit; font-style: normal; font-weight: inherit; letter-spacing: inherit; color: inherit;
}
body.neor-theme .editorial-home > .benefit-study neor-benefit-choices { border: 0; padding-inline: 0; background: transparent; }
body.neor-theme .benefit-study .benefit-stage { border-radius: 18px; background: #fff; box-shadow: none; }
body.neor-theme .benefit-study .choice + .choice { border-color: var(--rule); }
body.neor-theme .workspace-gallery .workspace-screen { border: 1px solid var(--rule); border-radius: 14px; background: var(--paper); }
body.neor-theme .workspace-gallery .workspace-picker label:has(:checked) { background: var(--paper); color: var(--ink); }
body.neor-theme .featured-modules > .container { display: block; }
body.neor-theme .featured-modules .heading-row { position: static; margin: 0 0 26px; }
body.neor-theme .featured-modules .section-heading h2 { max-width: none; }
body.neor-theme .featured-modules .section-heading p { max-width: 55ch; }
body.neor-theme .featured-modules .featured-card { border-radius: 18px; border: 1px solid #e4e4e7; background: white; box-shadow: none; }
body.neor-theme .featured-modules .featured-grid { grid-auto-columns: calc((100% - 32px)/3); gap: 16px; }
body.neor-theme .featured-modules .featured-visual { border-radius: 12px; }
body.neor-theme .marketing-home > .home-needs { border: 0; }
body.neor-theme .marketing-home .home-needs[data-language] .need-chip { border-radius: 10px; }
body.neor-theme .marketing-home > .home-solutions,
body.neor-theme .marketing-home > .home-faq { background: var(--paper); }
body.neor-theme .home-solutions .solution-grid, body.neor-theme .home-solutions .solution-card { border-color: var(--rule); }
body.neor-theme .marketing-home > .einvoice-teaser { border-color: var(--rule); }
body.neor-theme .einvoice-teaser .einvoice-flow { background: var(--paper); border-radius: 14px; }

body.neor-theme .page-hero { background: var(--paper); padding-block: clamp(38px,5.3vw,80px); border: 0; }
body.neor-theme .page-hero h1 { color: var(--ink); font-weight: 610; }
body.neor-theme .page-hero .icon-tile { color: var(--ink); background: white; }
body.neor-theme :is(.scenario-panel,.lead-form,.article-cta) { background: var(--paper); border-radius: 18px; }
body.neor-theme :is(.module-card,.blog-card,.pricing-card,.einvoice-card) { border-radius: 16px; }

body.neor-theme .marketing-home.editorial-home > .final-cta, body.neor-theme .final-cta {
  background: white; padding-block: var(--chapter); color: var(--ink); border-block-start: 1px solid #ebebed;
}
body.neor-theme .final-cta::before { content: none; }
body.neor-theme .final-cta .cta-inner, body.neor-theme .marketing-home > .final-cta .cta-inner {
  padding: 0; text-align: center; background: transparent;
}
body.neor-theme .marketing-home > .final-cta .cta-inner h2, body.neor-theme .final-cta .cta-inner h2 { margin: 0 auto; color: var(--ink); font-size: var(--display); max-width: 26ch; }
body.neor-theme .marketing-home > .final-cta .cta-inner p, body.neor-theme .final-cta .cta-inner p {
  max-width: 52ch; margin: 17px auto 23px; color: var(--secondary-ink);
}
body.neor-theme .marketing-home > .final-cta .cta-inner .cta-steps li,
body.neor-theme .marketing-home > .final-cta .cta-inner .cta-steps li span { color: var(--secondary-ink); }
body.neor-theme .marketing-home > .final-cta .cta-inner .cta-steps,
body.neor-theme .marketing-home > .final-cta .cta-inner .button-group,
body.neor-theme .final-cta .button-group { justify-content: center; align-items: center; }
body.neor-theme .marketing-home > .final-cta .cta-inner .button-white, body.neor-theme .final-cta .cta-inner .button-white { color: white; background: var(--action); border: 1px solid var(--action); }
body.neor-theme .marketing-home > .final-cta .cta-inner .button-dark-outline, body.neor-theme .final-cta .cta-inner .button-dark-outline { color: var(--action); background: transparent; border: 1px solid var(--action); }
body.neor-theme .marketing-home > .final-cta .cta-inner .button-white:hover, body.neor-theme .final-cta .cta-inner .button-white:hover { background: var(--action-hover); }
body.neor-theme .marketing-home > .final-cta .cta-inner .button-dark-outline:hover, body.neor-theme .final-cta .cta-inner .button-dark-outline:hover { background: var(--paper); }
body.neor-theme .marketing-home > .final-cta .cta-inner a:focus-visible, body.neor-theme .final-cta .cta-inner a:focus-visible { outline-color: var(--action); }
body.neor-theme .site-footer { background: var(--paper); border-top: 1px solid #e8e8ea; }
body.neor-theme .site-footer .footer-column h2 { color: var(--ink); font: inherit; font-size: .9375rem; font-weight: 650; }

@media (max-width: 920px) {
  body.neor-theme .marketing-home > .module-rail { padding: 3px 0; }
  body.neor-theme .module-rail .module-rail-list {
    width: 100%; display: flex; overflow-x: auto; padding: 3px 16px; scroll-snap-type: x proximity;
    overscroll-behavior-inline: contain; scrollbar-width: thin; scrollbar-color: #c6c7ca transparent;
  }
  body.neor-theme .module-rail .home-hero-module { flex: 1 0 105px; scroll-snap-align: center; }
  body.neor-theme .featured-modules .featured-grid { grid-auto-columns: calc((100% - 16px)/2); }
}
@media (max-width: 620px) {
  body.neor-theme .sidebar-showcase .sidebar-tab { border-radius: 9px; }
  body.neor-theme .featured-modules .featured-grid { grid-auto-columns: min(84%, 345px); }
}
