/* Ochrom — layout helpers only. No nav bar. Full bootstrap container width. */

.nx-brand-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: var(--nx-radius-sm);
}

.nx-section {
  padding: 4rem 0;
}

.nx-section-alt {
  background: var(--nx-bg-muted);
  border-top: 1px solid var(--nx-border);
  border-bottom: 1px solid var(--nx-border);
}

.nx-section-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nx-text-muted);
  margin-bottom: 0.5rem;
}

.nx-section-title {
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.nx-section-desc {
  color: var(--nx-text-secondary);
  max-width: 640px;
  margin-bottom: 2rem;
}

.nx-about-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 0.75rem;
  border-radius: var(--nx-radius-lg);
  font-size: 1.05rem;
  border: 1px solid var(--nx-border);
}

.nx-about-icon-blue {
  background: rgba(59, 111, 201, 0.12);
  color: var(--nx-blue);
}

.nx-about-icon-green {
  background: rgba(26, 143, 74, 0.12);
  color: var(--nx-green);
}

.nx-about-icon-gold {
  background: rgba(154, 123, 10, 0.14);
  color: var(--nx-yellow);
}

.nx-info-panel {
  background: var(--nx-bg-surface);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius-lg);
  padding: 1.5rem;
}

.nx-info-panel dt {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--nx-text-muted);
  margin-bottom: 0.25rem;
}

.nx-info-panel dd {
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.nx-info-panel dd:last-child {
  margin-bottom: 0;
}

.nx-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
}

.nx-category-pill {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.875rem 1rem;
  background: var(--nx-bg-surface);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius-lg);
  font-size: 0.8125rem;
  font-weight: 500;
}

.nx-category-pill i {
  color: var(--nx-text-muted);
}

.nx-feature-card:hover .nx-feature-icon {
  transform: scale(1.08);
}

.nx-feature-icon {
  transition: transform 0.2s ease;
}

.nx-blog-card {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.nx-blog-card:hover { color: inherit; }

.nx-blog-card .nx-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.nx-blog-meta {
  font-size: 0.75rem;
  color: var(--nx-text-muted);
  margin-bottom: 0.5rem;
}

.nx-blog-excerpt {
  font-size: 0.8125rem;
  color: var(--nx-text-secondary);
  flex-grow: 1;
  margin-bottom: 1rem;
}

.nx-blog-read {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--nx-link);
}

.nx-site-footer {
  background: var(--nx-bg-elevated);
  border-top: 1px solid var(--nx-border);
  padding: 2.5rem 0;
}

.nx-site-footer a {
  color: var(--nx-text-secondary);
  text-decoration: none;
  font-size: 0.8125rem;
}

.nx-site-footer a:hover {
  color: var(--nx-text);
}

.nx-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nx-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--nx-text-secondary);
}

.nx-contact-list i {
  color: var(--nx-text-muted);
  margin-top: 0.15rem;
}

.nx-inquiry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.nx-inquiry-tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.6rem;
  border-radius: var(--nx-radius-pill);
  background: var(--nx-bg-muted);
  border: 1px solid var(--nx-border);
  color: var(--nx-text-secondary);
}

.nx-page-header {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--nx-border);
  background: var(--nx-bg-base);
}

@media (max-width: 991.98px) {
  .nx-section { padding: 3rem 0; }
  .nx-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .nx-feature-grid {
    grid-template-columns: 1fr;
  }

  .nx-feature-title {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nx-feature-card:hover .nx-feature-icon {
    transform: none;
  }
}


/* Purple hero tone — homepage + FTPSnail download page */
.nx-landing-hero.nx-showcase-hero,
.nx-ftpsnail-page .nx-page-header.nx-showcase-hero,
.nx-ftpsnail-page .nx-showcase-hero {
  --nx-showcase-accent-rgb: 124, 58, 237;
  background:
    radial-gradient(ellipse 80% 70% at 72% 18%, rgba(124, 58, 237, 0.22), transparent 55%),
    radial-gradient(ellipse 55% 50% at 12% 85%, rgba(91, 33, 182, 0.14), transparent 50%),
    linear-gradient(165deg, #0b0614 0%, #140d22 38%, #1a1028 100%);
}

.nx-landing-hero.nx-showcase-hero .nx-showcase-hero-art .nx-showcase-glow,
.nx-ftpsnail-page .nx-showcase-hero-art .nx-showcase-glow {
  opacity: 0.72;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.45) 0%, transparent 65%);
}

.nx-landing-hero.nx-showcase-hero .nx-showcase-hero-art .nx-showcase-node,
.nx-ftpsnail-page .nx-showcase-hero-art .nx-showcase-node {
  background: rgba(124, 58, 237, 0.95);
  box-shadow: 0 0 14px rgba(124, 58, 237, 0.75);
}

.nx-landing-hero.nx-showcase-hero .nx-showcase-hero-art .nx-showcase-line,
.nx-ftpsnail-page .nx-showcase-hero-art .nx-showcase-line {
  stroke: rgba(167, 139, 250, 0.55);
}

.nx-landing-hero.nx-showcase-hero .nx-showcase-hero-label-dot,
.nx-ftpsnail-page .nx-showcase-hero-label-dot {
  background: rgb(124, 58, 237);
  box-shadow: 0 0 10px rgba(124, 58, 237, 0.85);
}

.nx-landing-hero.nx-showcase-hero .nx-showcase-hero-logo-ring::after,
.nx-ftpsnail-page .nx-showcase-hero-logo-ring::after {
  background: #140d22;
}


/* Site nav + condensed layout */
.nx-site-nav {
  position: relative;
  z-index: 2;
  padding: 0.85rem 0 0;
}

.nx-site-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nx-site-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: #fafafa;
  text-decoration: none;
}

.nx-site-nav-brand img {
  border-radius: var(--nx-radius-sm);
}

.nx-site-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.nx-site-nav-links a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #a1a1aa;
  text-decoration: none;
  transition: color 0.15s;
}

.nx-site-nav-links a:hover {
  color: #fafafa;
}

.nx-hero-compact {
  padding: 2.5rem 0 3rem;
}


/* Hero: large logo left, copy right */
.nx-hero-split {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.nx-hero-split-logo {
  flex-shrink: 0;
}

.nx-hero-logo-large {
  display: block;
  width: clamp(120px, 18vw, 168px);
  height: clamp(120px, 18vw, 168px);
  object-fit: contain;
  border-radius: var(--nx-radius-lg);
  filter: drop-shadow(0 12px 40px rgba(124, 58, 237, 0.25));
}

.nx-hero-split-content {
  flex: 1;
  min-width: 0;
}

.nx-hero-split-content .lead {
  max-width: 52ch;
}

@media (max-width: 767.98px) {
  .nx-hero-split {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .nx-hero-split-logo {
    margin-bottom: 0.25rem;
  }
}

.nx-hero-compact .nx-hero-logo {
  width: 64px;
  height: 64px;
}

.nx-hero-compact h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.nx-hero-compact .lead {
  font-size: 1rem;
  max-width: 520px;
  margin-bottom: 1.25rem;
}

.nx-hero-compact .nx-showcase-hero-actions {
  margin-bottom: 0;
}

.nx-home .nx-section-tight {
  padding: 2.5rem 0;
}

.nx-section-desc-tight {
  margin-bottom: 1.25rem;
}

.nx-portal-card {
  display: block;
  height: 100%;
  padding: 1.25rem;
  background: var(--nx-bg-surface);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius-lg);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.nx-portal-card:hover {
  color: inherit;
  border-color: rgba(124, 58, 237, 0.35);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.08);
}

.nx-portal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 0.75rem;
  border-radius: var(--nx-radius);
  background: rgba(124, 58, 237, 0.12);
  color: #7c3aed;
  font-size: 1rem;
}

.nx-portal-link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--nx-link);
}

.nx-sub-hero {
  padding: 1.5rem 0 2.25rem;
}

.nx-sub-hero .nx-sub-hero-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #fafafa;
}

.nx-sub-hero .nx-sub-hero-lead {
  font-size: 1rem;
  max-width: 560px;
  color: #a1a1aa;
}

.nx-page-header.nx-showcase-hero.nx-sub-hero,
.nx-page-header.nx-sub-hero {
  --nx-showcase-accent-rgb: 124, 58, 237;
  background:
    radial-gradient(ellipse 70% 60% at 80% 15%, rgba(124, 58, 237, 0.18), transparent 55%),
    linear-gradient(165deg, #0b0614 0%, #140d22 50%, #1a1028 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #ededee;
}

.nx-showcase-flow-compact {
  margin-top: 0;
}

@media (max-width: 575.98px) {
  .nx-site-nav-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Portal-style cards (software, operations) */
.nx-home .nx-portal-card,
.nx-software-page .nx-portal-card,
.nx-operations-page .nx-portal-card {
  background: var(--nx-bg-surface);
  border: 1px solid var(--nx-border);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.nx-home a.nx-portal-card:hover,
.nx-software-page a.nx-portal-card:hover,
.nx-operations-page a.nx-portal-card:hover {
  border-color: rgba(124, 58, 237, 0.5);
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.14);
  transform: translateY(-2px);
}

.nx-home .nx-portal-icon,
.nx-software-page .nx-portal-icon,
.nx-operations-page .nx-portal-icon {
  background: rgba(124, 58, 237, 0.14);
  color: #7c3aed;
  box-shadow: inset 0 0 0 1px rgba(124, 58, 237, 0.12);
}

.nx-home a.nx-portal-card:hover .nx-portal-icon,
.nx-software-page a.nx-portal-card:hover .nx-portal-icon,
.nx-operations-page a.nx-portal-card:hover .nx-portal-icon {
  background: rgba(124, 58, 237, 0.2);
  color: #6d28d9;
}

.nx-operations-page .nx-ops-step {
  cursor: default;
  height: 100%;
}

.nx-operations-page .nx-ops-step:hover {
  border-color: rgba(124, 58, 237, 0.35);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.08);
  transform: none;
}

.nx-news-meta {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nx-text-muted);
  margin-bottom: 0.5rem;
}

.nx-news-meta-live {
  color: #7c3aed;
}

.nx-news-card-static {
  cursor: default;
}

.nx-news-card-static:hover {
  transform: none;
}

.nx-news-soon {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--nx-text-muted);
}
.nx-portal-icon-img {
  padding: 0.25rem;
  background: rgba(124, 58, 237, 0.14);
}

.nx-portal-icon-img img {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: contain;
}

/* Hero label — more space between tagline segments */
.nx-hero-label-spaced {
  gap: 0.65rem 1.1rem;
  flex-wrap: wrap;
  padding: 0.45rem 1rem;
}

.nx-hero-label-spaced .nx-hero-label-sep {
  opacity: 0.4;
  font-weight: 400;
  letter-spacing: 0;
  padding: 0 0.15rem;
}
.nx-home .nx-portal-card-static {
  cursor: default;
}

.nx-home .nx-portal-card-static:hover {
  border-color: rgba(124, 58, 237, 0.35);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.08);
  transform: none;
}

.nx-home .nx-portal-card-static:hover .nx-portal-icon {
  background: rgba(124, 58, 237, 0.2);
  color: #6d28d9;
}
/* Privacy / legal — Termly embed inside site theme */
.nx-legal-panel {
  max-width: 52rem;
  margin: 0 auto;
  padding: 2rem 2.25rem;
  background: var(--nx-bg-surface);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius-lg);
  box-shadow: var(--nx-shadow);
  color: var(--nx-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.nx-legal-panel [data-custom-class='body'],
.nx-legal-panel [data-custom-class='body'] * {
  background: transparent !important;
}

.nx-legal-panel [data-custom-class='title'],
.nx-legal-panel [data-custom-class='title'] * {
  font-family: inherit !important;
  font-size: 1.5rem !important;
  font-weight: 600 !important;
  color: var(--nx-text) !important;
  letter-spacing: -0.02em;
}

.nx-legal-panel [data-custom-class='subtitle'],
.nx-legal-panel [data-custom-class='subtitle'] * {
  font-family: inherit !important;
  font-size: 0.8125rem !important;
  color: var(--nx-text-muted) !important;
}

.nx-legal-panel [data-custom-class='heading_1'],
.nx-legal-panel [data-custom-class='heading_1'] * {
  font-family: inherit !important;
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  color: var(--nx-text) !important;
  margin-top: 1.5rem;
}

.nx-legal-panel [data-custom-class='heading_2'],
.nx-legal-panel [data-custom-class='heading_2'] * {
  font-family: inherit !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: var(--nx-text) !important;
}

.nx-legal-panel [data-custom-class='body_text'],
.nx-legal-panel [data-custom-class='body_text'] * {
  font-family: inherit !important;
  font-size: 0.9375rem !important;
  color: var(--nx-text-secondary) !important;
}

.nx-legal-panel [data-custom-class='link'],
.nx-legal-panel [data-custom-class='link'] * {
  font-family: inherit !important;
  font-size: inherit !important;
  color: #7c3aed !important;
}

.nx-legal-panel a:hover {
  color: #6d28d9 !important;
}

.nx-legal-panel ul,
.nx-legal-panel ol {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.nx-legal-panel li {
  margin-bottom: 0.35rem;
}

/* Hide Termly branding bar if present */
.nx-legal-panel > span[style*='background: url(data:image/svg+xml'] {
  display: none !important;
}
