/* Product navigation and Brand Book themes */
:root{--brand-midnight:#0b1020;--brand-blue:#2563eb;--brand-white:#fff;--brand-slate:#475569;--brand-cool-gray:#cbd5e1;--brand-ice:#f8fafc;--brand-light-gray:#e2e8f0}
.menu-chevron{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round;transition:transform .28s cubic-bezier(.2,.8,.2,1)}
.nav-dropdown summary{display:flex;align-items:center;gap:7px;font-weight:600}.nav-dropdown[open] .menu-chevron{transform:rotate(180deg)}
.product-menu{position:static}.product-menu:after{left:auto;right:auto;width:110px}.product-mega-menu{position:fixed!important;top:70px!important;left:50%!important;right:auto!important;transform:translateX(-50%);width:min(calc(100vw - 32px),1380px);padding:22px!important;border-radius:24px!important;background:rgba(11,16,32,.97)!important;backdrop-filter:blur(24px);overflow:hidden;animation:menuReveal .24s ease both}
.product-menu-heading p{margin:0 0 16px;color:var(--muted);font-size:14px}.product-menu-grid,.product-showcase-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.product-card{position:relative;display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid rgba(203,213,225,.16);border-radius:22px;background:linear-gradient(145deg,rgba(37,99,235,.16),rgba(255,255,255,.035));transition:transform .28s ease,border-color .28s ease,box-shadow .28s ease}.product-card:hover{transform:translateY(-6px);border-color:rgba(37,99,235,.7);box-shadow:0 22px 50px rgba(0,0,0,.25)}
.product-card-media{position:relative;aspect-ratio:16/10;overflow:hidden;margin:10px;border-radius:15px}.product-card-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s ease}.product-card:hover .product-card-media img{transform:scale(1.045)}.product-icon{position:absolute;left:12px;bottom:12px;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:rgba(11,16,32,.86);color:#fff;box-shadow:0 8px 24px rgba(0,0,0,.25)}.product-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.product-sky .product-icon{color:#67e8f9}.product-violet .product-icon{color:#a78bfa}.product-blue .product-icon{color:#60a5fa}.product-indigo .product-icon{color:#818cf8}.product-cyan .product-icon{color:#22d3ee}
.product-card-copy{display:flex;flex:1;flex-direction:column;padding:9px 18px 18px}.product-card h3{margin:0 0 8px;font:700 19px/1.2 'Manrope',sans-serif}.product-card p{margin:0;color:var(--muted);font-size:13px;line-height:1.45}.product-card-cta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:18px;color:#dbeafe;font-size:12px;font-weight:700}.product-card-cta b{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:#fff;color:#0b1020;font-size:17px;transition:transform .25s ease}.product-card:hover .product-card-cta b{transform:translateX(4px)}
.products-showcase{background:linear-gradient(180deg,#0a192a,#07111f)}.product-showcase-grid{grid-template-columns:repeat(6,1fr)}.product-showcase-grid .product-card{grid-column:span 2;min-height:420px}.product-showcase-grid .product-card:nth-child(4){grid-column:2/span 2}.product-showcase-grid .product-card:nth-child(5){grid-column:4/span 2}.product-showcase-grid .product-card-media{aspect-ratio:16/9}.product-showcase-grid .product-card-copy{padding:14px 24px 24px}.product-showcase-grid .product-card h3{font-size:25px}.product-showcase-grid .product-card p{font-size:15px}
.theme-toggle{display:grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid var(--line);border-radius:50%;background:rgba(255,255,255,.04);color:inherit;cursor:pointer}.theme-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.theme-toggle span{position:absolute;clip:rect(0 0 0 0)}.theme-toggle:hover{border-color:var(--brand-blue);background:rgba(37,99,235,.12)}.moon-icon{display:none}html[data-theme="light"] .sun-icon{display:none}html[data-theme="light"] .moon-icon{display:block}
@keyframes menuReveal{from{opacity:0;transform:translate(-50%,-8px)}to{opacity:1;transform:translate(-50%,0)}}
html[data-theme="light"] body{background:var(--brand-white);color:var(--brand-midnight)}html[data-theme="light"] body:before{opacity:.012}html[data-theme="light"] .site-header{background:rgba(255,255,255,.9);border-color:var(--brand-light-gray)}html[data-theme="light"] .site-nav,html[data-theme="light"] .nav-dropdown summary{color:var(--brand-slate)}html[data-theme="light"] .site-nav>a{color:var(--brand-slate)}html[data-theme="light"] .hero{background:linear-gradient(135deg,#fff,var(--brand-ice))}html[data-theme="light"] .lead,html[data-theme="light"] .title-row>p,html[data-theme="light"] .card p,html[data-theme="light"] .content-card p,html[data-theme="light"] .product-card p,html[data-theme="light"] .product-menu-heading p{color:var(--brand-slate)}html[data-theme="light"] .card,html[data-theme="light"] .content-card{background:#fff;border-color:var(--brand-light-gray);box-shadow:0 12px 35px rgba(15,23,42,.06)}html[data-theme="light"] .products-showcase,html[data-theme="light"] .soft{background:var(--brand-ice)}html[data-theme="light"] .product-mega-menu{background:rgba(255,255,255,.98)!important;border-color:var(--brand-light-gray)!important;box-shadow:0 28px 70px rgba(15,23,42,.16)}html[data-theme="light"] .product-card{background:#fff;border-color:var(--brand-light-gray);box-shadow:0 10px 28px rgba(15,23,42,.06)}html[data-theme="light"] .product-card-cta{color:var(--brand-blue)}html[data-theme="light"] .product-card-cta b{background:var(--brand-midnight);color:#fff}html[data-theme="light"] .simple-menu{background:#fff!important;border-color:var(--brand-light-gray)!important;box-shadow:0 20px 50px rgba(15,23,42,.14)!important}html[data-theme="light"] .simple-menu a,html[data-theme="light"] .simple-menu button{color:var(--brand-slate)!important}html[data-theme="light"] .simple-menu a:hover,html[data-theme="light"] .simple-menu button:hover{background:var(--brand-ice)!important;color:var(--brand-midnight)!important}html[data-theme="light"] input,html[data-theme="light"] select,html[data-theme="light"] textarea{background:#fff;color:var(--brand-midnight);border-color:var(--brand-cool-gray)}html[data-theme="light"] .filters{border-color:var(--brand-light-gray);background:var(--brand-ice)}html[data-theme="light"] .page-hero{background:radial-gradient(circle at 80% 0,rgba(37,99,235,.13),transparent 42%)}html[data-theme="light"] footer{background:var(--brand-midnight);color:#fff}html[data-theme="light"] .menu-toggle span{background:var(--brand-midnight)}
@media(max-width:1100px){.product-menu-grid{grid-template-columns:repeat(3,minmax(220px,1fr));max-height:70vh;overflow:auto}.product-showcase-grid{grid-template-columns:repeat(2,1fr)}.product-showcase-grid .product-card,.product-showcase-grid .product-card:nth-child(4),.product-showcase-grid .product-card:nth-child(5){grid-column:auto}}
@media(max-width:720px){.product-mega-menu{position:static!important;transform:none!important;width:auto;padding:12px!important;animation:none}.product-menu-grid{display:grid;grid-template-columns:1fr;max-height:none}.product-menu-grid .product-card{display:grid;grid-template-columns:110px 1fr}.product-menu-grid .product-card-media{aspect-ratio:1;margin:8px}.product-menu-grid .product-card-copy{padding:12px}.product-menu-grid .product-card p{display:none}.product-showcase-grid{grid-template-columns:1fr}.product-showcase-grid .product-card{min-height:0}.theme-toggle{position:absolute;right:75px;top:15px}.site-nav .theme-toggle{position:static}.site-nav.open .theme-toggle{display:grid}.site-nav:not(.open) .theme-toggle{display:none}}

/* Theme-specific header wordmarks */
.brand-wordmark-light{display:none;width:188px;height:36px;object-fit:cover;object-position:center}
html[data-theme="light"] .site-header .brand-wordmark-dark{display:none}
html[data-theme="light"] .site-header .brand-wordmark-light{display:block}
@media(max-width:720px){.brand-wordmark-light{width:150px;height:32px}}
html[data-theme="light"] .site-header .brand-wordmark{content:url("/static/img/wanravai-wordmark-light-tight.d95dcc8d4f8a.png");display:block;width:188px!important;height:36px!important;object-fit:cover!important;object-position:center!important}


/* Desktop stability and Light-theme contrast fixes */
.site-header .brand{flex:0 0 auto}.site-nav{min-width:0}.site-nav svg{display:block}.menu-chevron{flex:0 0 18px;max-width:18px;max-height:18px}.theme-toggle{flex:0 0 38px;overflow:hidden}.theme-toggle svg{max-width:18px;max-height:18px}.layer-icon{overflow:hidden}.layer-icon svg{max-width:24px;max-height:24px}
html[data-theme="light"] .site-nav>a:hover,html[data-theme="light"] .nav-dropdown summary:hover{color:var(--brand-midnight)}
html[data-theme="light"] .product-card:hover,html[data-theme="light"] .product-card:hover h3,html[data-theme="light"] .content-card:hover,html[data-theme="light"] .content-card:hover h3{color:var(--brand-midnight)}
html[data-theme="light"] .product-card:hover .product-card-cta{color:var(--brand-blue)}
html[data-theme="light"] .secondary:hover{background:var(--brand-ice);border-color:var(--brand-cool-gray);color:var(--brand-midnight)}
html[data-theme="light"] .primary:hover{color:#fff}
html[data-theme="light"] .article .back:hover,html[data-theme="light"] .article-langs a:hover{color:var(--brand-midnight);background:var(--brand-ice)}
html[data-theme="light"] .article-langs .active,html[data-theme="light"] .article-langs .active:hover{color:#fff;background:var(--brand-blue)}
html[data-theme="light"] .langs a:hover{color:var(--brand-midnight);background:var(--brand-ice)}html[data-theme="light"] .langs .active,html[data-theme="light"] .langs .active:hover{color:#fff;background:var(--brand-blue)}
@media(min-width:721px) and (max-width:1240px){.wrap{width:min(calc(100% - 28px),var(--wrap))}.site-nav{gap:14px;font-size:13px}.brand-new{gap:7px}.brand-new>img:first-child{width:48px;height:34px;flex-basis:48px}.brand-new .brand-wordmark{width:118px!important}.brand-wordmark-light{width:150px!important}.langs a{padding-inline:6px}}
@media(min-width:1241px){.nav-wrap{height:78px}.site-nav{gap:clamp(18px,1.55vw,30px)}}

/* Equal visual dimensions for Dark and Light header logos */
.site-header .brand-wordmark-dark,.site-header .brand-wordmark-light,.site-header .brand-wordmark{width:190px!important;height:30px!important;max-width:190px!important;max-height:30px!important;object-fit:fill!important;object-position:center!important}
html[data-theme="light"] .site-header .brand-wordmark{content:url("/static/img/wanravai-wordmark-light-cropped.54507bcd3cbe.png")}
@media(max-width:720px){.site-header .brand-wordmark-dark,.site-header .brand-wordmark-light,.site-header .brand-wordmark{width:158px!important;height:25px!important;max-width:158px!important;max-height:25px!important}}

/* Complete Light-theme navigation surface */
html[data-theme="light"] .site-header{background:rgba(255,255,255,.96);color:var(--brand-midnight);border-bottom-color:var(--brand-light-gray)}
html[data-theme="light"] .site-nav{background:transparent;color:var(--brand-slate)}
html[data-theme="light"] .site-nav>a,html[data-theme="light"] .nav-dropdown summary,html[data-theme="light"] .account-menu summary{color:var(--brand-slate)}
html[data-theme="light"] .site-nav>a:hover,html[data-theme="light"] .nav-dropdown summary:hover,html[data-theme="light"] .account-menu summary:hover{color:var(--brand-blue)}
html[data-theme="light"] .site-nav>a:focus-visible,html[data-theme="light"] .nav-dropdown summary:focus-visible{color:var(--brand-blue);outline:2px solid var(--brand-blue);outline-offset:5px;border-radius:4px}
html[data-theme="light"] .menu-chevron{stroke:currentColor}
html[data-theme="light"] .theme-toggle{background:#fff;color:var(--brand-midnight);border-color:var(--brand-cool-gray);box-shadow:0 4px 14px rgba(15,23,42,.07)}
html[data-theme="light"] .theme-toggle:hover{background:var(--brand-ice);color:var(--brand-blue);border-color:var(--brand-blue)}
html[data-theme="light"] .langs{background:#fff;border-color:var(--brand-cool-gray)}
html[data-theme="light"] .langs a{color:var(--brand-slate)}
html[data-theme="light"] .langs a:hover{background:var(--brand-ice);color:var(--brand-midnight)}
html[data-theme="light"] .langs .active,html[data-theme="light"] .langs .active:hover{background:var(--brand-blue);color:#fff}
html[data-theme="light"] .nav-dropdown>div{background:#fff;border-color:var(--brand-light-gray);box-shadow:0 22px 55px rgba(15,23,42,.16)}
html[data-theme="light"] .nav-dropdown>div a,html[data-theme="light"] .nav-dropdown>div button{color:var(--brand-slate)}
html[data-theme="light"] .nav-dropdown>div a:hover,html[data-theme="light"] .nav-dropdown>div button:hover{background:var(--brand-ice);color:var(--brand-blue)}
html[data-theme="light"] .product-mega-menu{background:rgba(255,255,255,.99)!important}
html[data-theme="light"] .product-menu-heading p{color:var(--brand-slate)}
@media(max-width:720px){html[data-theme="light"] .site-nav,html[data-theme="light"] .site-nav.open{background:#fff;border-bottom-color:var(--brand-light-gray);box-shadow:0 18px 40px rgba(15,23,42,.12)}html[data-theme="light"] .menu-toggle{color:var(--brand-midnight)}html[data-theme="light"] .menu-toggle span{background:var(--brand-midnight)}html[data-theme="light"] .nav-dropdown>div{background:var(--brand-ice);box-shadow:none}html[data-theme="light"] .product-mega-menu{background:var(--brand-ice)!important}}

/* Compact product navigation: detailed cards live on /products/. */
.product-menu { position: relative; }
.product-menu > summary { gap: .35rem; }
.product-overview-link { color: inherit; text-decoration: none; }
.product-quick-menu { position:absolute; top:calc(100% + 14px); left:50%; z-index:80; width:min(340px,calc(100vw - 32px)); padding:.55rem; border:1px solid var(--line); border-radius:18px; background:rgba(8,18,34,.98); box-shadow:0 24px 64px rgba(0,0,0,.35); }
.product-quick-menu > a { display:grid; grid-template-columns:38px 1fr 16px; align-items:center; gap:.7rem; min-height:52px; padding:.45rem .55rem; border-radius:12px; color:var(--text); text-decoration:none; }
.product-quick-menu > a:hover,.product-quick-menu > a:focus-visible { background:rgba(57,116,255,.14); color:var(--text); }
.product-quick-icon { display:grid; width:38px; height:38px; place-items:center; border-radius:10px; background:rgba(57,116,255,.13); color:#55c7ff; }
.product-quick-icon svg { width:23px!important; height:23px!important; max-width:23px!important; max-height:23px!important; }
.product-quick-menu > a > svg { width:15px!important; height:15px!important; fill:none; stroke:currentColor; stroke-width:2; }
html[data-theme="light"] .product-quick-menu { background:rgba(255,255,255,.99); border-color:#dbe4f2; box-shadow:0 24px 64px rgba(29,52,84,.16); }
html[data-theme="light"] .product-quick-menu > a,html[data-theme="light"] .product-overview-link { color:#0b1730; }
html[data-theme="light"] .product-quick-menu > a:hover,html[data-theme="light"] .product-quick-menu > a:focus-visible { color:#0b1730; background:#edf4ff; }
.site-header .brand-wordmark-dark,.site-header .brand-wordmark-light,.site-header .brand-wordmark { flex:0 0 190px; width:190px!important; height:30px!important; max-width:190px!important; max-height:30px!important; object-fit:fill!important; }
html[data-theme="dark"] .site-header .brand-wordmark-light { display:none!important; }
html[data-theme="light"] .site-header .brand-wordmark-dark { display:none!important; }
html[data-theme="light"] .site-header .brand-wordmark-light { display:block!important; }
@media (max-width:720px) { .product-quick-menu { position:static; width:100%; margin-top:.35rem; box-shadow:none; } .product-menu > summary { width:fit-content; } }

/* Canonical header branding and theme control — intentionally last. */
.site-header .brand-wordmark-dark,
.site-header .brand-wordmark-light,
.site-header .brand-wordmark {
  flex: 0 0 190px !important;
  width: 190px !important;
  height: 30px !important;
  max-width: 190px !important;
  max-height: 30px !important;
  margin: 0 !important;
  object-fit: fill !important;
  object-position: center !important;
}
html[data-theme="dark"] .site-header .brand-wordmark-dark { display:block !important; }
html[data-theme="dark"] .site-header .brand-wordmark-light { display:none !important; }
html[data-theme="light"] .site-header .brand-wordmark-dark { display:none !important; }
html[data-theme="light"] .site-header .brand-wordmark-light { display:block !important; }
.theme-toggle { width:auto !important; min-width:42px; height:42px !important; padding:0 11px !important; display:inline-flex !important; align-items:center; justify-content:center; gap:7px; border-radius:999px !important; }
.theme-toggle .sun-icon,.theme-toggle .moon-icon { width:19px !important; height:19px !important; max-width:19px !important; max-height:19px !important; margin:0 !important; flex:0 0 19px; }
.theme-toggle .sun-icon,.theme-toggle .moon-icon { display:none !important; }
html[data-theme="dark"] .theme-toggle .sun-icon { display:block !important; }
html[data-theme="light"] .theme-toggle .moon-icon { display:block !important; }
@media(max-width:720px){
  .site-header .brand-wordmark-dark,.site-header .brand-wordmark-light,.site-header .brand-wordmark { flex-basis:158px!important; width:158px!important; height:25px!important; max-width:158px!important; max-height:25px!important; }
  .theme-toggle { width:42px!important; padding:0!important; }
  .theme-toggle span { position:absolute!important; width:1px!important; height:1px!important; overflow:hidden!important; clip:rect(0 0 0 0)!important; }
}

/* Natural wordmark proportions and vivid navigation icon system. */
.site-header .brand-wordmark-dark,
.site-header .brand-wordmark-light,
.site-header .brand-wordmark {
  flex: 0 0 210px !important;
  width: 210px !important;
  height: auto !important;
  max-width: 210px !important;
  max-height: 22px !important;
  object-fit: contain !important;
  object-position: left center !important;
}
.product-quick-icon svg,.consulting-icon svg { fill:none!important; stroke:currentColor!important; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
.product-quick-violet { color:#c084fc; background:rgba(192,132,252,.16); }
.product-quick-cyan { color:#22d3ee; background:rgba(34,211,238,.15); }
.product-quick-blue { color:#60a5fa; background:rgba(96,165,250,.16); }
.product-quick-indigo { color:#a78bfa; background:rgba(167,139,250,.17); }
.product-quick-azure { color:#38bdf8; background:rgba(56,189,248,.16); }
.consulting-menu { width:min(360px,calc(100vw - 32px)); padding:.55rem!important; }
.consulting-menu .consulting-item { display:grid; grid-template-columns:40px 1fr 16px; align-items:center; gap:.75rem; min-height:54px; padding:.45rem .55rem!important; }
.consulting-icon { display:grid; place-items:center; width:40px; height:40px; border-radius:12px; }
.consulting-icon svg { width:23px!important; height:23px!important; max-width:23px!important; max-height:23px!important; }
.consulting-arrow { width:15px!important; height:15px!important; fill:none!important; stroke:currentColor!important; stroke-width:2; }
.consulting-automation .consulting-icon { color:#c084fc; background:rgba(192,132,252,.16); }
.consulting-business_apps .consulting-icon { color:#fb7185; background:rgba(251,113,133,.16); }
.consulting-ai_integration .consulting-icon { color:#22d3ee; background:rgba(34,211,238,.15); }
.consulting-data_dashboards .consulting-icon { color:#4ade80; background:rgba(74,222,128,.15); }
.consulting-custom_training .consulting-icon { color:#fbbf24; background:rgba(251,191,36,.16); }
.about-menu { width:min(320px,calc(100vw - 32px)); padding:.55rem!important; }
.about-menu .about-item { display:grid; grid-template-columns:40px 1fr 16px; align-items:center; gap:.75rem; min-height:54px; padding:.45rem .55rem!important; }
.about-icon { display:grid; place-items:center; width:40px; height:40px; border:1px solid currentColor; border-radius:12px; box-shadow:inset 0 0 18px rgba(255,255,255,.025); }
.about-icon svg { width:23px!important; height:23px!important; max-width:23px!important; max-height:23px!important; fill:none!important; stroke:currentColor!important; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
.about-arrow { width:15px!important; height:15px!important; fill:none!important; stroke:currentColor!important; stroke-width:2; }
.about-overview .about-icon { color:#60a5fa; background:rgba(96,165,250,.16); }
.about-purpose .about-icon { color:#22d3ee; background:rgba(34,211,238,.15); }
.about-people .about-icon { color:#a78bfa; background:rgba(167,139,250,.17); }
.about-menu .about-item>span:nth-child(2) { font-weight:600; letter-spacing:-.01em; }
html[data-theme="dark"] .about-menu .about-item { color:#e8f1ff!important; }
html[data-theme="dark"] .about-menu .about-item:hover { background:rgba(96,165,250,.11)!important; }
html[data-theme="dark"] .about-arrow { color:#8fa7c1!important; }
html[data-theme="light"] .about-menu .about-item { color:#334155!important; }
.account-action-menu { width:min(330px,calc(100vw - 32px)); padding:.55rem!important; }
.account-action-menu form { display:block; width:100%; }
.account-action-menu .account-action { display:grid; grid-template-columns:40px minmax(0,1fr) 16px; align-items:center; gap:.75rem; width:100%; min-height:54px; padding:.45rem .55rem!important; }
.account-action-icon { display:grid; place-items:center; width:40px; height:40px; border:1px solid currentColor; border-radius:12px; box-shadow:inset 0 0 18px rgba(255,255,255,.025); }
.account-action-icon svg { width:23px!important; height:23px!important; max-width:23px!important; max-height:23px!important; fill:none!important; stroke:currentColor!important; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
.account-dashboard .account-action-icon,.account-sign-in .account-action-icon { color:#60a5fa; background:rgba(96,165,250,.16); }
.account-sign-up .account-action-icon { color:#22d3ee; background:rgba(34,211,238,.15); }
.account-sign-out .account-action-icon { color:#fb7185; background:rgba(251,113,133,.16); }
.account-action-arrow { width:15px!important; height:15px!important; fill:none!important; stroke:currentColor!important; stroke-width:2; }
.account-action-menu .account-action>span:nth-child(2) { min-width:0; overflow-wrap:anywhere; font-weight:600; letter-spacing:-.01em; }
html[data-theme="dark"] .account-action-menu .account-action { color:#e8f1ff!important; }
html[data-theme="dark"] .account-action-menu .account-action:hover { background:rgba(96,165,250,.11)!important; }
html[data-theme="dark"] .account-action-arrow { color:#8fa7c1!important; }
html[data-theme="light"] .account-action-menu .account-action { color:#334155!important; }
.proposal-details { display:grid; gap:.75rem; margin:1.4rem 0; }
.proposal-details>div { display:flex; justify-content:space-between; gap:1rem; padding:.8rem 0; border-bottom:1px solid var(--line); }
.proposal-details dt { color:var(--muted); }
.proposal-details dd { margin:0; font-weight:700; text-align:right; }
.payment-status-success { padding:1rem; border:1px solid rgba(74,222,128,.4); border-radius:12px; background:rgba(74,222,128,.12); color:#4ade80; font-weight:700; }
html[data-theme="light"] .payment-status-success { color:#15803d; }
html[data-theme="dark"] .product-quick-menu> a:hover,html[data-theme="dark"] .consulting-menu .consulting-item:hover { background:rgba(96,165,250,.11)!important; }
html[data-theme="light"] .consulting-menu .consulting-item { color:#334155!important; }
@media(max-width:1240px) and (min-width:721px){.site-header .brand-wordmark-dark,.site-header .brand-wordmark-light,.site-header .brand-wordmark{flex-basis:160px!important;width:160px!important;max-width:160px!important;max-height:17px!important}}
@media(max-width:720px){.site-header .brand-wordmark-dark,.site-header .brand-wordmark-light,.site-header .brand-wordmark{flex-basis:155px!important;width:155px!important;max-width:155px!important;max-height:17px!important}.consulting-menu,.about-menu,.account-action-menu{width:100%}}

/* Accessible brand buttons and semantic submenu icon contrast. */
a.button.primary,.button.primary,button.primary,input.primary {
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  text-shadow:0 1px 1px rgba(0,0,0,.12);
}
a.button.primary svg,.button.primary svg,button.primary svg { color:#fff!important; stroke:#fff!important; }
a.button.primary:hover,.button.primary:hover,button.primary:hover { color:#fff!important; -webkit-text-fill-color:#fff!important; background:linear-gradient(135deg,#087ee8,#3159dc); }
.product-quick-menu> a>span:nth-child(2),.consulting-menu .consulting-item>span:nth-child(2){font-weight:600;letter-spacing:-.01em}
.product-quick-icon,.consulting-icon{border:1px solid currentColor;box-shadow:inset 0 0 18px rgba(255,255,255,.025)}
html[data-theme="dark"] .product-quick-menu> a,html[data-theme="dark"] .consulting-menu .consulting-item{color:#e8f1ff!important}
html[data-theme="dark"] .product-quick-menu> a>svg,html[data-theme="dark"] .consulting-arrow{color:#8fa7c1!important}

/* Compact header logo: same dimensions in both themes. */
.site-header .brand-new{gap:7px}
.site-header .brand-new>img:first-child{width:46px!important;height:30px!important;flex:0 0 46px!important;object-fit:contain!important}
.site-header .brand-wordmark-dark,.site-header .brand-wordmark-light,.site-header .brand-wordmark{flex:0 0 160px!important;width:160px!important;max-width:160px!important;max-height:18px!important;height:auto!important;object-fit:contain!important;object-position:left center!important}
@media(max-width:720px){.site-header .brand-new{gap:5px}.site-header .brand-new>img:first-child{width:36px!important;height:24px!important;flex-basis:36px!important}.site-header .brand-wordmark-dark,.site-header .brand-wordmark-light,.site-header .brand-wordmark{flex-basis:116px!important;width:116px!important;max-width:116px!important;max-height:13px!important}}

/* Spotify-style mobile navigation and compact mobile branding. */
.mobile-bottom-nav,.mobile-more-panel{display:none}
@media(max-width:720px){
 body{padding-bottom:76px}
 .site-header{position:sticky}.nav-wrap{height:64px}.menu-toggle,.site-nav{display:none!important}
 .site-header .brand-new>img:first-child{width:30px!important;height:20px!important;flex-basis:30px!important}
 .site-header .brand-wordmark-dark,.site-header .brand-wordmark-light,.site-header .brand-wordmark{width:102px!important;max-width:102px!important;flex-basis:102px!important;max-height:12px!important}
 .mobile-bottom-nav{position:fixed;z-index:100;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(5,1fr);min-height:68px;padding:7px max(7px,env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(7px,env(safe-area-inset-left));border-top:1px solid rgba(148,163,184,.2);background:rgba(5,13,23,.94);backdrop-filter:blur(22px);box-shadow:0 -12px 35px rgba(0,0,0,.28)}
 .mobile-bottom-nav a,.mobile-bottom-nav button{display:flex;min-width:0;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:2px;border:0;background:none;color:#9db0c3;font:600 10px 'DM Sans';text-align:center}
 .mobile-bottom-nav svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.mobile-bottom-nav span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-bottom-nav a:hover,.mobile-bottom-nav button:hover{color:#60a5fa}
 .mobile-more-panel{position:fixed;z-index:99;right:12px;bottom:78px;display:flex;align-items:center;gap:10px;padding:12px;border:1px solid var(--line);border-radius:18px;background:rgba(7,17,31,.97);box-shadow:0 20px 55px rgba(0,0,0,.38)}.mobile-more-panel[hidden]{display:none}.mobile-more-panel>a{padding:9px 12px;border-radius:12px;color:var(--text);font-weight:600}.mobile-more-panel .theme-toggle{position:static!important}.mobile-more-panel .langs{align-self:center}
 html[data-theme="light"] .mobile-bottom-nav{background:rgba(255,255,255,.96);border-color:#dbe4f2;box-shadow:0 -12px 35px rgba(15,23,42,.1)}html[data-theme="light"] .mobile-bottom-nav a,html[data-theme="light"] .mobile-bottom-nav button{color:#52647b}html[data-theme="light"] .mobile-more-panel{background:#fff;border-color:#dbe4f2}
}
/* Canonical phone and tablet navigation: viewport-fixed outside the header. */
@media(max-width:1024px){
 body{padding-bottom:calc(72px + env(safe-area-inset-bottom))}
 .site-header .site-nav,.site-header .menu-toggle{display:none!important}
 .site-header .nav-wrap{height:64px}
 .site-header .brand-new{gap:6px}
 .site-header .brand-new>img:first-child{width:34px!important;height:23px!important;flex:0 0 34px!important;object-fit:contain!important}
 .site-header .brand-wordmark-dark,.site-header .brand-wordmark-light,.site-header .brand-wordmark{box-sizing:content-box!important;display:none;width:126px!important;height:16px!important;min-width:126px!important;max-width:126px!important;max-height:16px!important;flex:0 0 126px!important;object-fit:contain!important;object-position:left center!important;overflow:visible!important}
 html[data-theme="dark"] .site-header .brand-wordmark-dark{display:block!important}html[data-theme="light"] .site-header .brand-wordmark-light{display:block!important}
 .mobile-bottom-nav{position:fixed!important;z-index:1000!important;left:0!important;right:0!important;top:auto!important;bottom:0!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));min-height:68px;padding:7px max(7px,env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(7px,env(safe-area-inset-left));border-top:1px solid rgba(148,163,184,.2);background:rgba(5,13,23,.95);backdrop-filter:blur(22px);box-shadow:0 -12px 35px rgba(0,0,0,.28);transform:none!important}
 .mobile-bottom-nav a,.mobile-bottom-nav button{display:flex;min-width:0;min-height:52px;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:2px;border:0;background:none;color:#9db0c3;font:600 10px 'DM Sans';text-align:center;touch-action:manipulation;cursor:pointer}
 .mobile-bottom-nav svg{display:block;width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.mobile-bottom-nav span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-bottom-nav a:hover,.mobile-bottom-nav button:hover,.mobile-bottom-nav button[aria-expanded="true"]{color:#60a5fa}
 .mobile-more-panel{position:fixed!important;z-index:1001!important;right:12px!important;left:auto!important;top:auto!important;bottom:calc(80px + env(safe-area-inset-bottom))!important;display:grid!important;grid-template-columns:1fr auto;align-items:center;gap:8px;width:min(340px,calc(100vw - 24px));padding:12px;border:1px solid var(--line);border-radius:18px;background:rgba(7,17,31,.98);box-shadow:0 20px 55px rgba(0,0,0,.38);transform:none!important}.mobile-more-panel[hidden]{display:none!important}.mobile-more-panel>a{padding:10px 12px;border-radius:12px;color:var(--text);font-weight:600}.mobile-more-panel .theme-toggle{position:static!important;right:auto!important;top:auto!important}.mobile-more-panel .langs{grid-column:1/-1;align-self:center;width:max-content}
 html[data-theme="light"] .mobile-bottom-nav{background:rgba(255,255,255,.97);border-color:#dbe4f2;box-shadow:0 -12px 35px rgba(15,23,42,.1)}html[data-theme="light"] .mobile-bottom-nav a,html[data-theme="light"] .mobile-bottom-nav button{color:#52647b}html[data-theme="light"] .mobile-bottom-nav button[aria-expanded="true"]{color:#2563eb}html[data-theme="light"] .mobile-more-panel{background:#fff;border-color:#dbe4f2}
}
@media(min-width:1025px){.mobile-bottom-nav,.mobile-more-panel{display:none!important}}

/* Direct mobile navigation: About, theme and language stay beside the logo. */
.mobile-header-actions{display:none}
@media(max-width:1024px){
 .mobile-header-actions{display:flex;align-items:center;gap:7px;margin-left:auto}
 .mobile-about-link{color:#c5d2e2;font-size:12px;font-weight:700;white-space:nowrap}
 .mobile-header-theme{position:static!important;width:36px!important;min-width:36px!important;height:36px!important;padding:0!important}
 .mobile-header-theme span{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important}
 .mobile-language-menu{position:relative;color:#c5d2e2;font-size:11px;font-weight:700}
 .mobile-language-menu summary{display:flex;align-items:center;justify-content:center;width:44px;height:36px;border:1px solid var(--line);border-radius:999px;list-style:none;cursor:pointer}
 .mobile-language-menu summary svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
 .mobile-language-menu summary span{font-size:11px;line-height:1;letter-spacing:.06em}
 .mobile-language-menu summary::-webkit-details-marker{display:none}
 .mobile-language-menu>div{position:absolute;z-index:100;top:43px;right:0;display:grid;min-width:64px;padding:6px;border:1px solid var(--line);border-radius:12px;background:#07111f;box-shadow:0 16px 40px rgba(0,0,0,.3)}
 .mobile-language-menu a{padding:7px 10px;border-radius:8px;text-align:center}.mobile-language-menu a.active{background:#2563eb;color:#fff}
 html[data-theme="light"] .mobile-about-link,html[data-theme="light"] .mobile-language-menu{color:#334155}
 html[data-theme="light"] .mobile-language-menu summary{border-color:#cbd5e1;background:#fff}
 html[data-theme="light"] .mobile-language-menu>div{background:#fff;border-color:#dbe4f2;box-shadow:0 16px 40px rgba(15,23,42,.14)}
}
@media(max-width:390px){
 .site-header .nav-wrap{gap:4px}
 .site-header .brand-new{gap:4px}
 .site-header .brand-new>img:first-child{width:30px!important;height:20px!important;flex-basis:30px!important}
 .site-header .brand-wordmark-dark,.site-header .brand-wordmark-light,.site-header .brand-wordmark{width:108px!important;min-width:108px!important;max-width:108px!important;flex-basis:108px!important}
 .mobile-header-actions{gap:5px;min-width:0}
 .mobile-about-link{flex:0 0 auto;font-size:11px}
 .mobile-header-theme{width:33px!important;min-width:33px!important;height:33px!important}
 .mobile-language-menu summary{width:40px!important;height:33px!important}
}
@media(max-width:350px){
 .site-header .brand-new>img:first-child{width:27px!important;flex-basis:27px!important}
 .site-header .brand-wordmark-dark,.site-header .brand-wordmark-light,.site-header .brand-wordmark{width:92px!important;min-width:92px!important;max-width:92px!important;flex-basis:92px!important}
 .mobile-header-actions{gap:3px}
 .mobile-about-link{font-size:10px}
 .mobile-header-theme{width:31px!important;min-width:31px!important;height:31px!important}
 .mobile-language-menu summary{width:37px!important;height:31px!important}
}
@media(min-width:1025px){.mobile-header-actions{display:none!important}}

/* Unified desktop header rhythm and tablet/mobile drawer. */
@media(min-width:1025px){
 .site-header .nav-wrap{height:72px!important;gap:0}
 .site-header .brand-new{margin-right:40px}
 .site-header .site-nav{margin-left:auto;gap:clamp(16px,1.45vw,28px);font-size:14px;font-weight:600;align-items:center}
 .site-header .site-nav>a,.site-header .site-nav summary,.site-header .site-nav summary>a{white-space:nowrap;font:600 14px 'DM Sans',sans-serif;letter-spacing:0}
 .site-header .account-menu{margin-left:4px}
}
@media(max-width:1024px){
 body{padding-bottom:calc(72px + env(safe-area-inset-bottom))!important}
 .mobile-bottom-nav{display:grid!important}
 .mobile-more-panel{display:none!important}
 .site-header .menu-toggle{display:grid!important;position:relative;flex:0 0 42px;margin-left:8px;width:42px;height:40px;padding:10px;border:1px solid var(--line);border-radius:11px;gap:4px}
 .site-header .menu-toggle span{display:block;height:2px;background:currentColor;border-radius:2px}
 .site-header .site-nav{display:none!important;position:fixed;z-index:1200;top:64px;left:0;right:0;max-height:calc(100dvh - 64px);overflow-y:auto;flex-direction:column;align-items:stretch;gap:4px;margin:0;padding:18px 20px 28px;background:rgba(7,17,31,.985);border-bottom:1px solid var(--line);box-shadow:0 24px 50px rgba(0,0,0,.35)}
 .site-header .site-nav.open{display:flex!important}
 .site-header .site-nav>a,.site-header .site-nav summary{display:flex;min-height:46px;align-items:center;padding:10px 12px;border-radius:10px;white-space:nowrap;font-size:14px;font-weight:600}
 .site-header .site-nav .nav-dropdown>div{position:static;margin:4px 0 8px;box-shadow:none}
 .site-header .site-nav .langs{align-self:flex-start;margin-top:8px}
 html[data-theme="light"] .site-header .site-nav{background:rgba(255,255,255,.99)}
 .mobile-bottom-nav{transition:transform .24s ease,visibility .24s ease;will-change:transform}
 .mobile-bottom-nav.is-scroll-hidden{transform:translateY(calc(100% + env(safe-area-inset-bottom)))!important;visibility:hidden}
}
@media(max-width:1024px) and (prefers-reduced-motion:reduce){.mobile-bottom-nav{transition:none}}

/* Canonical contrast for every white mobile navigation surface. */
@media(max-width:1024px){
 html[data-theme="light"] .mobile-more-panel,
 html[data-theme="light"] .mobile-more-panel>a,
 html[data-theme="light"] .mobile-more-panel .theme-toggle,
 html[data-theme="light"] .mobile-more-panel .theme-toggle span,
 html[data-theme="light"] .mobile-more-panel .langs a {
   color:#0b1730!important;
   -webkit-text-fill-color:#0b1730!important;
 }
 html[data-theme="light"] .mobile-more-panel>a:hover,
 html[data-theme="light"] .mobile-more-panel>a:focus-visible,
 html[data-theme="light"] .mobile-more-panel .theme-toggle:hover {
   background:#edf4ff!important;
   color:#174ea6!important;
   -webkit-text-fill-color:#174ea6!important;
 }
 html[data-theme="light"] .mobile-more-panel .langs .active,
 html[data-theme="light"] .mobile-more-panel .langs .active:hover {
   background:#2563eb!important;
   color:#fff!important;
   -webkit-text-fill-color:#fff!important;
 }
}

