/* Portfolio header above the product’s own navigation. */
.nexora-dock .project-header { position:relative; z-index:100; color:#f1f5f3; }
.nexora-dock .project-brand { color:#f1f5f3; text-decoration:none; }
.nexora-dock .category-dropdown { box-sizing:border-box; }
.nexora-page { margin:0; background:#f4f6fb; color:#18263d; font:16px/1.6 system-ui,sans-serif; }
.nexora-page *, .nexora-page *::before, .nexora-page *::after { box-sizing:border-box; }
.nexora-main { width:min(1140px,calc(100% - 36px)); margin:auto; padding:clamp(22px,5vw,66px) 0; }
.nexora-main h1 { font-size:clamp(2.7rem,7vw,5.3rem); line-height:1.02; letter-spacing:-.062em; margin:10px 0 18px; }
.nexora-main h2 { font-size:clamp(1.65rem,4vw,2.7rem); margin:0 0 15px; line-height:1.13; letter-spacing:-.035em; }
.nexora-main h3 { margin:0; line-height:1.2; }
.nexora-main p { max-width:65ch; color:#465571; }
.nexora-main a { color:#284ca5; }
.nexora-main img { display:block; width:100%; height:auto; border-radius:10px; }
.nexora-intro { padding:clamp(20px,4vw,48px) 0; }
.nexora-kicker { font-size:.82rem; letter-spacing:.07em; font-weight:730; }
.nexora-main section { margin-block:clamp(30px,6vw,72px); scroll-margin-top:25px; }
.nexora-hero { display:grid; align-items:center; grid-template-columns:minmax(0,1fr) minmax(0,1.15fr); gap:28px; }
.nexora-local { display:flex; flex-wrap:wrap; gap:9px 17px; }
.nexora-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr)); gap:16px; }
.nexora-grid > * { margin:0; background:#fff; border:1px solid #dde4f0; border-radius:14px; overflow:hidden; }
.nexora-grid article:not(.nexora-product), .nexora-product > div, .nexora-grid figcaption { padding:20px; }
.nexora-product > a img { border-radius:0; }
.nexora-product h3 { display:flex; align-items:center; gap:10px; }
.nexora-product h3 img { width:30px; }
.nexora-main .nexora-button { display:inline-block; background:#284ca5; color:#fff; padding:10px 15px; border-radius:8px; text-decoration:none; font-weight:650; }
.nexora-upcoming, .nexora-main details { padding:18px; border-radius:12px; border:1px solid #dce4f1; background:#fff; }
.nexora-main details { margin:10px 0; }
.nexora-main summary { cursor:pointer; font-weight:650; }
@media(max-width:700px) { .nexora-hero { grid-template-columns:minmax(0,1fr); } }
@media(max-width:380px) { .nexora-dock .project-switcher > a { display:none; } }


/* Portfolio wordmark accent follows each Nexora product. */
.nexora-dock .project-brand span { color:#a6dcff; }
.nexora-duplix .project-brand span { color:#b4e153; }
.nexora-compress .project-brand span { color:#64c8ff; }

/* Nexora Suite overview */
.nexora-suite-home { background:#101625; color:#eff4ff; }
.suite-main { width:min(1160px,calc(100% - 36px)); margin-inline:auto; padding-bottom:clamp(40px,7vw,94px); }
.suite-hero { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); align-items:center; gap:24px; padding:clamp(40px,8vw,104px) 0 clamp(34px,6vw,74px); }
.suite-hero h1 { margin:0 0 18px; display:flex; flex-wrap:wrap; align-items:center; gap:.22em; font-size:clamp(1.8rem,5.6vw,4.7rem); line-height:1; letter-spacing:-.065em; }
.suite-hero h1 img { width:clamp(117px,25vw,260px); height:auto; filter:invert(1); }
.suite-hero h1 span { font-weight:500; color:#a6dcff; }
.suite-hero p { max-width:49ch; margin:10px 0; color:#bac8de; }
.suite-hero .suite-lead { font-size:clamp(1.45rem,3vw,2.55rem); line-height:1.15; letter-spacing:-.045em; color:#f2f5fd; font-weight:730; }
.suite-emblem { display:grid; place-items:center; min-height:240px; padding:20px; background:radial-gradient(ellipse at center,#304762,#141e30 66%,transparent 75%); }
.suite-emblem img { width:clamp(112px,19vw,192px); height:auto; border-radius:24%; box-shadow:0 22px 65px #0005; }
.suite-apps { scroll-margin-top:20px; }
.suite-apps h2 { margin:0 0 16px; font-size:clamp(1.4rem,3vw,2.1rem); letter-spacing:-.04em; }
.suite-products { display:grid; gap:clamp(15px,2.8vw,30px); }
.suite-product { --app-accent:#b4e153; display:grid; grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr); align-items:center; gap:clamp(12px,2.5vw,34px); min-width:0; border:1px solid #30405a; border-radius:20px; background:#192335; overflow:hidden; }
.suite-compress { --app-accent:#64c8ff; }
.suite-product-copy { padding:clamp(20px,4vw,44px); }
.suite-product-brand { display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.suite-product-brand h3 { display:grid; gap:5px; margin:0; }
.suite-product-brand h3 img { display:block; max-width:125px; width:100%; height:auto; filter:invert(1); }
.suite-product-brand h3 img + img { max-width:91px; }
.suite-app-icon { flex:none; border-radius:10px; }
.suite-product p { margin:10px 0; color:#bac8de; }
.suite-product .suite-feature-title { color:#f1f5ff; font-weight:730; font-size:clamp(1.18rem,2.6vw,1.72rem); line-height:1.2; letter-spacing:-.025em; }
.suite-image { padding:clamp(12px,2vw,24px); align-self:stretch; display:grid; place-items:center; background:linear-gradient(135deg,#293c56,#131b2a); }
.suite-image img { display:block; width:100%; height:auto; border-radius:9px; box-shadow:0 16px 35px #0005; }
.suite-product-link { display:inline-flex; align-items:center; gap:12px; margin-top:10px; padding:8px 12px; border:1px solid #526683; border-radius:8px; color:var(--app-accent,#c1e7ff); font-weight:650; text-decoration:none; }
.suite-product-link:hover { background:#293e58; }
.suite-next { display:flex; align-items:center; gap:12px; margin-top:24px; padding:16px; border:1px dashed #485b78; border-radius:14px; }
.suite-next span { display:grid; place-items:center; flex:none; width:37px; height:37px; border:1px dashed #7185a3; border-radius:9px; color:#a6dcff; font-size:22px; line-height:1; }
.suite-next h2 { margin:0; font-size:1rem; }
.suite-main a:focus-visible { outline:2px solid #a6dcff; outline-offset:3px; }
@media(max-width:700px) {
  .suite-hero, .suite-product { grid-template-columns:minmax(0,1fr); }
  .suite-emblem { display:none; }
}

@media(max-width:480px) {
  html[lang="en"] body:has(.nexora-duplix) .site-nav,
  html[lang="en"] body:has(.nexora-compress) .site-nav {
    max-width:100%;
    flex-wrap:wrap;
    justify-content:center;
  }
  html[lang="en"] body:has(.nexora-duplix) .site-nav > a,
  html[lang="en"] body:has(.nexora-duplix) .nav-more summary { padding-inline:6px; }
}

/* Keep original product footers at the viewport edge on short pages. */
body:has(.nexora-duplix), body:has(.nexora-compress) {
  display:flex;
  flex-direction:column;
  min-height:100vh;
  min-height:100svh;
}
body:has(.nexora-duplix) > main, body:has(.nexora-compress) > main { flex:1 0 auto; }
body:has(.nexora-duplix) > footer, body:has(.nexora-compress) > footer { width:100%; margin-top:auto; }
.nexora-license-content { padding-block:24px 64px; max-width:820px; }
.nexora-license-content section + section { margin-top:22px; }
.nexora-license-content h2 { margin-bottom:6px; }

/* Nexora suite wordmarks and product presentation */
.nexora-suite-home { background:#0c1320; }
.suite-hero {
  border-bottom:1px solid #344359;
  margin-bottom:clamp(32px,5vw,60px);
}
.suite-hero h1 { align-items:flex-start; flex-direction:column; gap:.18em; }
.suite-hero h1 .suite-wordmark {
  font:800 .38em/1.2 "Segoe UI Variable","Segoe UI",system-ui,sans-serif;
  letter-spacing:.3em;
  text-transform:uppercase;
  color:#a6dcff;
}
.suite-hero .suite-lead { font-size:clamp(1.55rem,3.8vw,3.15rem); margin-top:24px; }
.suite-emblem {
  border:1px solid #344359;
  border-radius:22px;
  background:radial-gradient(ellipse at center,#29466d 0,#111d30 72%);
}
.suite-products { grid-template-columns:repeat(2,minmax(0,1fr)); align-items:stretch; }
.suite-product {
  grid-template-columns:minmax(0,1fr);
  grid-template-rows:auto 1fr;
  gap:0;
  border-color:#344359;
  background:#141e2e;
}
.suite-image { grid-row:1; padding:clamp(12px,2vw,22px); border-bottom:1px solid #344359; }
.suite-image img { aspect-ratio:16 / 10; object-fit:contain; }
.suite-product-copy { display:flex; flex-direction:column; align-items:flex-start; padding:clamp(18px,3.3vw,35px); }
.suite-product-copy .suite-product-link { margin-top:auto; }
.suite-product-copy > p:last-of-type { margin-bottom:22px; }
.suite-compress .suite-product-brand h3 img + img {
  filter:brightness(0) saturate(100%) invert(74%) sepia(92%) saturate(934%) hue-rotate(176deg) brightness(104%) contrast(103%);
}
.suite-duplix .suite-product-brand h3 img + img {
  filter:brightness(0) saturate(100%) invert(90%) sepia(53%) saturate(697%) hue-rotate(26deg) brightness(96%) contrast(86%);
}
.suite-next .suite-plus { position:relative; }
.suite-plus::before, .suite-plus::after {
  content:'';
  position:absolute;
  top:50%;
  left:50%;
  background:currentColor;
  border-radius:2px;
  transform:translate(-50%,-50%);
}
.suite-plus::before { width:14px; height:2px; }
.suite-plus::after { width:2px; height:14px; }
@media(max-width:700px) { .suite-products { grid-template-columns:minmax(0,1fr); } }

.suite-hero h1 img.suite-wordmark { width:clamp(74px,14vw,135px); filter:none; }
.suite-compress .suite-product-brand h3 img + img,
.suite-duplix .suite-product-brand h3 img + img { filter:none; }
