/* nexpoint brand overrides v31 */
/* ==========================================================
   nexpoint x nexora IT - Corporate Design 3.1
   black #000000 | purple #bab0d7 | lime #d0d953
   ========================================================== */
:root {
  color-scheme: light;
  --nxp-font: "Articulat CF", "Helvetica Neue", Arial, ui-sans-serif, system-ui, sans-serif;
  --nxp-serif: "Minion Pro", Georgia, "Times New Roman", serif;
  --nxp-black: #000000;
  --nxp-purple: #bab0d7;
  --nxp-purple-50: #ddd8eb;
  --nxp-lime: #d0d953;
  --nxp-lime-50: #e8ecaa;
  --nxp-bg: #f6f6f3;
  --nxp-bg-soft: #efefe9;
  --nxp-surface: #ffffff;
  --nxp-surface-soft: #f3f3ef;
  --nxp-text: #000000;
  --nxp-text-soft: #343434;
  --nxp-muted: #686868;
  --nxp-border: rgba(0,0,0,.15);
  --nxp-border-strong: rgba(0,0,0,.34);
  --nxp-primary: #000000;
  --nxp-primary-2: #d0d953;
  --nxp-primary-soft: rgba(186,176,215,.34);
  --nxp-primary-soft-strong: rgba(186,176,215,.58);
  --nxp-gradient: #000000;
  --nxp-action-bg: #000000;
  --nxp-action-text: #ffffff;
  --nxp-action-hover: #d0d953;
  --nxp-action-hover-text: #000000;
  --nxp-shadow-sm: 0 3px 0 rgba(0,0,0,.08);
  --nxp-shadow-md: 0 10px 30px rgba(0,0,0,.09);
  --nxp-shadow-lg: 0 20px 60px rgba(0,0,0,.13);
  --nxp-radius: 12px;
  --nxp-radius-lg: 18px;
  --nxp-header-height: 78px;
}
html[data-theme="dark"] {
  color-scheme: dark;
  --nxp-bg: #0d0d0d;
  --nxp-bg-soft: #171717;
  --nxp-surface: #161616;
  --nxp-surface-soft: #202020;
  --nxp-text: #ffffff;
  --nxp-text-soft: #dedede;
  --nxp-muted: #a8a8a8;
  --nxp-border: rgba(255,255,255,.16);
  --nxp-border-strong: rgba(255,255,255,.34);
  --nxp-primary: #d0d953;
  --nxp-primary-2: #bab0d7;
  --nxp-primary-soft: rgba(186,176,215,.18);
  --nxp-primary-soft-strong: rgba(186,176,215,.30);
  --nxp-action-bg: #d0d953;
  --nxp-action-text: #000000;
  --nxp-action-hover: #bab0d7;
  --nxp-action-hover-text: #000000;
  --nxp-shadow-sm: 0 3px 0 rgba(255,255,255,.04);
  --nxp-shadow-md: 0 12px 34px rgba(0,0,0,.32);
  --nxp-shadow-lg: 0 22px 70px rgba(0,0,0,.48);
}
html[data-scale="90"] { font-size: 90%; }
html[data-scale="100"] { font-size: 100%; }
html[data-scale="110"] { font-size: 110%; }
html[data-scale="120"] { font-size: 120%; }

body {
  background-color: var(--nxp-bg);
  background-image:
    linear-gradient(rgba(0,0,0,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.022) 1px, transparent 1px);
  background-size: 48px 48px;
  color: var(--nxp-text);
  font-weight: 450;
  line-height: 1.55;
}
html[data-theme="dark"] body {
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
}
::selection { background: var(--nxp-lime); color: #000; }
:focus-visible { outline: 3px solid var(--nxp-lime); outline-offset: 3px; }
.nxp-container { width: min(1180px, calc(100% - 48px)); }
.nxp-section { padding: clamp(68px, 8vw, 118px) 0; }
.nxp-section-tight { padding: clamp(42px, 6vw, 76px) 0; }

/* Brand lockup */
.nxp-brand { gap: 11px; color: var(--nxp-text); }
.nxp-brand-mark {
  width: 48px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 6px 7px;
  border-radius: 8px;
  background: var(--nxp-lime);
  flex: 0 0 auto;
}
.nxp-brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.nxp-brand-copy { display: grid; gap: 0; line-height: 1; }
.nxp-brand-copy strong { font-size: 1.24rem; letter-spacing: -.045em; font-weight: 900; }
.nxp-brand-copy small { margin-top: 4px; color: var(--nxp-muted); font-size: .61rem; font-weight: 850; text-transform: uppercase; letter-spacing: .12em; }

/* Header */
.nxp-header {
  border-bottom: 1px solid var(--nxp-border);
  background: color-mix(in srgb, var(--nxp-bg) 96%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nxp-header.nxp-is-scrolled { border-bottom-color: var(--nxp-border-strong); box-shadow: 0 6px 26px rgba(0,0,0,.06); }
.nxp-nav { min-height: var(--nxp-header-height); gap: 28px; }
.nxp-nav-links { gap: 2px; }
.nxp-nav-links a,
.nxp-nav-link-button {
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--nxp-text-soft);
  font-size: .9rem;
  font-weight: 750;
}
.nxp-nav-links a:hover,
.nxp-nav-links a[aria-current="page"],
.nxp-nav-link-button:hover,
.nxp-tools-open-button[aria-expanded="true"] { background: var(--nxp-purple-50); color: #000; }
html[data-theme="dark"] .nxp-nav-links a:hover,
html[data-theme="dark"] .nxp-nav-links a[aria-current="page"],
html[data-theme="dark"] .nxp-nav-link-button:hover,
html[data-theme="dark"] .nxp-tools-open-button[aria-expanded="true"] { background: var(--nxp-purple); color: #000; }
.nxp-nav-tool-icon { width: 22px; height: 22px; border-radius: 5px; background: var(--nxp-lime); color: #000; }
.nxp-nav-actions { gap: 7px; }

/* Buttons */
.nxp-btn {
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 10px;
  border-color: var(--nxp-border-strong);
  box-shadow: none;
  font-weight: 850;
  letter-spacing: -.01em;
}
.nxp-btn:hover { transform: translateY(-1px); box-shadow: var(--nxp-shadow-sm); }
.nxp-btn-primary { background: var(--nxp-action-bg); color: var(--nxp-action-text); border-color: var(--nxp-action-bg); }
.nxp-btn-primary:hover { background: var(--nxp-action-hover); color: var(--nxp-action-hover-text); border-color: var(--nxp-action-hover); }
.nxp-btn-secondary { background: var(--nxp-purple-50); color: #000; border-color: var(--nxp-purple); }
.nxp-btn-secondary:hover { background: var(--nxp-purple); color: #000; }
html[data-theme="dark"] .nxp-btn-secondary { background: var(--nxp-purple); color: #000; border-color: var(--nxp-purple); }
.nxp-btn-ghost { background: transparent; color: var(--nxp-text-soft); border-color: transparent; }
.nxp-btn-ghost:hover { background: var(--nxp-surface-soft); color: var(--nxp-text); }
.nxp-btn-small { min-height: 38px; padding: 8px 12px; font-size: .84rem; }
.nxp-icon-btn { width: 40px; height: 40px; min-width: 40px; border-radius: 9px; }

/* View preferences */
.nxp-view-control { position: relative; }
.nxp-view-toggle { border-color: var(--nxp-border); }
.nxp-view-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 130;
  width: min(340px, calc(100vw - 28px));
  padding: 18px;
  border: 1px solid var(--nxp-border-strong);
  border-radius: 14px;
  background: var(--nxp-surface);
  box-shadow: var(--nxp-shadow-lg);
}
.nxp-view-panel[hidden] { display: none !important; }
.nxp-view-panel-head { display: grid; gap: 2px; margin-bottom: 16px; }
.nxp-view-panel-head strong { font-size: 1.1rem; }
.nxp-view-panel-head span { color: var(--nxp-muted); font-size: .8rem; }
.nxp-view-panel fieldset { margin: 0 0 15px; padding: 0; border: 0; }
.nxp-view-panel legend { margin-bottom: 7px; color: var(--nxp-text-soft); font-size: .75rem; font-weight: 850; }
.nxp-choice-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.nxp-view-panel fieldset:first-of-type .nxp-choice-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nxp-choice-row button {
  min-height: 38px;
  padding: 7px 8px;
  border: 1px solid var(--nxp-border);
  border-radius: 8px;
  background: var(--nxp-surface-soft);
  color: var(--nxp-text);
  font-weight: 750;
  font-size: .76rem;
  cursor: pointer;
}
.nxp-choice-row button.is-active { background: var(--nxp-lime); border-color: var(--nxp-lime); color: #000; }
.nxp-view-cookie-link { width: 100%; padding: 11px 0 0; border: 0; border-top: 1px solid var(--nxp-border); background: transparent; color: var(--nxp-text-soft); text-align: left; font-weight: 750; cursor: pointer; }
.nxp-view-cookie-link:hover { color: var(--nxp-primary); }

/* Typography */
h1, h2, h3, h4, .nxp-title, .nxp-title-sm { font-family: var(--nxp-font); font-weight: 900; }
.nxp-title { font-size: clamp(2.7rem, 6.2vw, 5.65rem); line-height: .91; letter-spacing: -.072em; text-wrap: balance; }
.nxp-title-sm { font-size: clamp(1.8rem, 3.4vw, 3rem); line-height: .98; letter-spacing: -.052em; text-wrap: balance; }
.nxp-subtitle { max-width: 720px; margin-top: 22px; color: var(--nxp-text-soft); font-size: clamp(1.04rem, 1.75vw, 1.22rem); line-height: 1.58; }
.nxp-eyebrow {
  margin-bottom: 18px;
  color: var(--nxp-text);
  font-size: .72rem;
  letter-spacing: .13em;
}
.nxp-kicker-dot { width: 22px; height: 5px; border-radius: 0; background: var(--nxp-lime); box-shadow: none; }
.nxp-brand-claim { display: inline-block; margin-top: 22px; font-family: var(--nxp-serif); font-size: clamp(1.3rem, 2.2vw, 1.9rem); font-style: italic; font-weight: 700; }
.nxp-highlight { display: inline; padding: 0 .11em .04em; background: linear-gradient(transparent 60%, var(--nxp-lime) 60%); }
.nxp-serif-accent { font-family: var(--nxp-serif); font-style: italic; font-weight: 700; }

/* Surfaces */
.nxp-card, .nxp-panel {
  border-radius: var(--nxp-radius-lg);
  background: var(--nxp-surface);
  border-color: var(--nxp-border);
  box-shadow: none;
}
.nxp-card { padding: clamp(20px, 3vw, 30px); }
.nxp-panel { padding: clamp(24px, 4vw, 40px); }
.nxp-card:hover:is(a) { border-color: var(--nxp-border-strong); transform: translateY(-2px); box-shadow: var(--nxp-shadow-md); }
.nxp-feature-icon, .nxp-tool-dot {
  border-radius: 8px;
  background: var(--nxp-lime);
  color: #000;
  font-size: .72rem;
  letter-spacing: .03em;
}
.nxp-badge {
  min-height: 27px;
  padding: 5px 9px;
  border-radius: 6px;
  background: var(--nxp-surface-soft);
  color: var(--nxp-text-soft);
  font-size: .69rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.nxp-badge-primary { background: var(--nxp-purple-50); border-color: var(--nxp-purple); color: #000; }
html[data-theme="dark"] .nxp-badge-primary { background: var(--nxp-purple); color: #000; }
.nxp-tool-access { border-radius: 5px; background: var(--nxp-purple-50); color: #000; }
.nxp-tool-access.is-public { background: var(--nxp-lime-50); color: #000; }
.nxp-tool-access.is-customer { background: var(--nxp-black); color: #fff; }
html[data-theme="dark"] .nxp-tool-access.is-customer { background: #fff; color: #000; }

/* Home */
.nxp-home-hero { min-height: min(800px, calc(100vh - var(--nxp-header-height))); display: grid; align-items: center; }
.nxp-home-hero::before { display: none; }
.nxp-home-hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(330px, .65fr); gap: clamp(36px, 7vw, 92px); }
.nxp-home-hero-copy { padding: clamp(10px, 2vw, 30px) 0; }
.nxp-home-hero .nxp-title { max-width: 930px; }
.nxp-home-proof { margin-top: 28px; gap: 10px; }
.nxp-home-proof li { padding: 8px 11px; border: 1px solid var(--nxp-border); border-radius: 7px; background: var(--nxp-surface); font-size: .82rem; }
.nxp-home-proof li::before { width: 16px; height: 16px; border-radius: 3px; background: var(--nxp-lime); color: #000; }
.nxp-home-status-card {
  position: relative;
  padding: 0;
  border: 1px solid var(--nxp-black);
  border-radius: 16px;
  background: var(--nxp-black);
  color: #fff;
  box-shadow: 16px 16px 0 var(--nxp-purple);
  overflow: hidden;
}
.nxp-home-status-card::before { content: ""; display: block; height: 12px; background: var(--nxp-lime); }
.nxp-home-status-inner { padding: clamp(24px, 4vw, 38px); }
.nxp-home-status-card .nxp-badge { background: var(--nxp-lime); border-color: var(--nxp-lime); color: #000; }
.nxp-home-status-card h2 { margin: 18px 0 10px; font-size: clamp(1.55rem, 3vw, 2.25rem); }
.nxp-home-status-card > p, .nxp-home-status-card .nxp-home-status-inner > p { color: rgba(255,255,255,.78); }
.nxp-home-status-list div { border-color: rgba(255,255,255,.18); border-radius: 10px; background: rgba(255,255,255,.06); }
.nxp-home-status-list i { border-radius: 7px; background: var(--nxp-lime); color: #000; }
.nxp-home-status-list small { color: rgba(255,255,255,.62); }
.nxp-home-status-list b { color: var(--nxp-lime); }
.nxp-section-heading { margin-bottom: 34px; }
.nxp-home-tool-card { border-top: 6px solid var(--nxp-purple); }
.nxp-home-tool-card:nth-child(3n+1) { border-top-color: var(--nxp-lime); }
.nxp-home-tool-card .nxp-card-footer { border-top: 1px solid var(--nxp-border); }
.nxp-home-tool-card .nxp-card-footer > span:last-child { color: var(--nxp-primary); }
.nxp-home-steps { counter-reset: step; }
.nxp-home-step { position: relative; border-top: 1px solid var(--nxp-border); padding-top: 72px; }
.nxp-home-step::before { counter-increment: step; content: "0" counter(step); position: absolute; top: 20px; left: 24px; color: var(--nxp-purple); font-size: 2.4rem; font-weight: 900; line-height: 1; }
.nxp-home-step > span { color: var(--nxp-muted); }
.nxp-home-principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--nxp-border-strong); border-radius: 16px; overflow: hidden; background: var(--nxp-surface); }
.nxp-home-principles article { min-height: 170px; padding: 28px; border-right: 1px solid var(--nxp-border); }
.nxp-home-principles article:last-child { border-right: 0; }
.nxp-home-principles strong { display: block; max-width: 12ch; font-size: clamp(1.2rem, 2vw, 1.65rem); line-height: 1.05; }
.nxp-home-principles span { display: block; margin-top: 12px; color: var(--nxp-muted); font-size: .86rem; }
.nxp-company-panel { border: 0; background: var(--nxp-purple-50); color: #000; }
html[data-theme="dark"] .nxp-company-panel { background: var(--nxp-purple); color: #000; }
.nxp-company-panel p, .nxp-company-panel .nxp-muted { color: rgba(0,0,0,.72); }
.nxp-company-facts div { border-color: rgba(0,0,0,.22); background: rgba(255,255,255,.34); }
.nxp-nexora-logo { width: min(270px, 70%); margin-bottom: 26px; }

/* Tool pages */
.tool-hero, .m365-hero, .phishing-hero, .signature-hero, .password-hero, .qr-hero, .monitor-hero { position: relative; overflow: hidden; }
.tool-hero::after, .m365-hero::after, .phishing-hero::after, .signature-hero::after, .password-hero::after, .qr-hero::after, .monitor-hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 8px; background: linear-gradient(90deg, var(--nxp-black) 0 34%, var(--nxp-purple) 34% 67%, var(--nxp-lime) 67% 100%); pointer-events: none;
}
.nxp-tool-conversion { border-color: var(--nxp-border-strong); border-radius: 14px; background: var(--nxp-black); color: #fff; }
.nxp-tool-conversion p { color: rgba(255,255,255,.72); }
.nxp-tool-conversion .nxp-badge { background: var(--nxp-lime); border-color: var(--nxp-lime); color: #000; }
.nxp-tool-conversion .nxp-btn-primary { background: var(--nxp-lime); color: #000; border-color: var(--nxp-lime); }
.nxp-tool-conversion .nxp-btn-primary:hover { background: var(--nxp-purple); border-color: var(--nxp-purple); }
.nxp-access-gate { border-color: var(--nxp-border-strong); border-radius: 14px; background: var(--nxp-surface); box-shadow: none; }
.nxp-access-gate-icon { border-radius: 8px; background: var(--nxp-lime); color: #000; }
.nxp-access-session { border-radius: 10px; }

/* Forms */
input, select, textarea { border-radius: 9px !important; }
input:focus, select:focus, textarea:focus { border-color: var(--nxp-black) !important; box-shadow: 0 0 0 4px rgba(208,217,83,.36) !important; }
html[data-theme="dark"] input:focus,
html[data-theme="dark"] select:focus,
html[data-theme="dark"] textarea:focus { border-color: var(--nxp-lime) !important; }

/* Tool drawer */
.nxp-tool-drawer-backdrop { background: rgba(0,0,0,.52); }
.nxp-tool-drawer-panel { inset: 10px auto 10px 10px; border-radius: 16px; background: var(--nxp-surface); }
.nxp-tool-drawer-head h2 { line-height: .98; }
.nxp-tool-drawer-link { border-radius: 10px; }
.nxp-tool-drawer-link:hover, .nxp-tool-drawer-link[aria-current="page"] { border-color: var(--nxp-purple); background: var(--nxp-purple-50); color: #000; }
html[data-theme="dark"] .nxp-tool-drawer-link:hover,
html[data-theme="dark"] .nxp-tool-drawer-link[aria-current="page"] { background: var(--nxp-purple); }
.nxp-tool-search input { border-radius: 9px; box-shadow: none; }

/* Access and admin */
.nxp-access-form-card { border-top: 8px solid var(--nxp-lime); }
.nxp-access-login-card { border-top: 8px solid var(--nxp-purple); }
.nxp-access-message { border-radius: 10px !important; }
.nxp-access-role, .nxp-access-tool-status { border-radius: 5px !important; }
.nxp-access-tool-card, .nxp-admin-user-card, .nxp-admin-invite { border-radius: 14px !important; box-shadow: none !important; }
.nxp-access-tool-card { border-top: 5px solid var(--nxp-purple); }
.nxp-access-tool-card:nth-child(3n+1) { border-top-color: var(--nxp-lime); }
.nxp-admin-table-wrap { border-radius: 12px !important; }
.nxp-admin-table th { background: var(--nxp-black) !important; color: #fff !important; }

/* Legal */
.nxp-legal-content { max-width: 78ch; }
.nxp-side-nav { border-left: 5px solid var(--nxp-lime); padding-left: 18px; }

/* Cookie dialog */
.nxp-cookie-banner { left: auto; right: 22px; bottom: 22px; width: min(520px, calc(100% - 44px)); padding: 22px; border-radius: 14px; border-color: var(--nxp-border-strong); background: var(--nxp-surface); }
.nxp-cookie-banner::before { content: ""; display: block; width: 54px; height: 7px; margin-bottom: 15px; background: var(--nxp-lime); }
.nxp-cookie-modal { border-radius: 16px; }
.nxp-cookie-option { border-radius: 10px; }
.nxp-cookie-switch input { accent-color: var(--nxp-lime); }

/* Footer */
.nxp-footer { padding: 48px 0; border-top-color: var(--nxp-border-strong); background: var(--nxp-black); color: #fff; }
.nxp-footer-grid { align-items: flex-end; color: rgba(255,255,255,.72); }
.nxp-footer-brand { display: grid; gap: 16px; }
.nxp-footer-lockup { display: flex; align-items: center; gap: 11px; }
.nxp-footer-lockup > span:last-child { display: grid; }
.nxp-footer-lockup strong { color: #fff; font-size: 1.2rem; line-height: 1; }
.nxp-footer-lockup small { margin-top: 3px; color: rgba(255,255,255,.58); font-size: .6rem; text-transform: uppercase; letter-spacing: .12em; }
.nxp-footer-brand p { margin: 0; color: rgba(255,255,255,.66); font-size: .86rem; }
.nxp-footer-brand em { color: var(--nxp-lime); font-family: var(--nxp-serif); font-size: 1.18rem; }
.nxp-footer a, .nxp-footer strong { color: #fff; }
.nxp-footer a:hover { color: var(--nxp-lime); }
.nxp-footer .nxp-btn-ghost { color: rgba(255,255,255,.74); }
.nxp-footer .nxp-btn-ghost:hover { background: rgba(255,255,255,.10); color: #fff; }

/* Small components */
.nxp-back-to-top { border-radius: 9px; background: var(--nxp-black); color: #fff; border-color: var(--nxp-black); }
html[data-theme="dark"] .nxp-back-to-top { background: var(--nxp-lime); color: #000; border-color: var(--nxp-lime); }
.nxp-toast { border-radius: 9px; background: var(--nxp-black); color: #fff; }
.nxp-setup-code { background: #000 !important; color: #fff !important; }

@media (max-width: 1040px) {
  .nxp-home-principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nxp-home-principles article:nth-child(2) { border-right: 0; }
  .nxp-home-principles article:nth-child(-n+2) { border-bottom: 1px solid var(--nxp-border); }
}
@media (max-width: 920px) {
  .nxp-nav { grid-template-columns: auto auto; }
  .nxp-nav-links { top: var(--nxp-header-height); border-radius: 14px; }
  .nxp-nav-links a, .nxp-nav-link-button { border-radius: 8px; }
  .nxp-view-label { display: none; }
  .nxp-home-hero { min-height: auto; }
  .nxp-home-hero-grid { grid-template-columns: 1fr; }
  .nxp-home-status-card { max-width: 620px; box-shadow: 10px 10px 0 var(--nxp-purple); }
}
@media (max-width: 640px) {
  .nxp-container { width: min(100% - 28px, 1180px); }
  :root { --nxp-header-height: 70px; }
  .nxp-brand-mark { width: 42px; height: 30px; }
  .nxp-brand-copy strong { font-size: 1.06rem; }
  .nxp-brand-copy small { font-size: .54rem; }
  .nxp-access-nav { padding-inline: 10px; }
  .nxp-view-toggle { width: 40px; padding: 0; }
  .nxp-view-panel { position: fixed; top: 78px; left: 14px; right: 14px; width: auto; }
  .nxp-title { font-size: clamp(2.45rem, 13vw, 3.65rem); }
  .nxp-home-principles { grid-template-columns: 1fr; }
  .nxp-home-principles article { min-height: auto; border-right: 0; border-bottom: 1px solid var(--nxp-border); }
  .nxp-home-principles article:last-child { border-bottom: 0; }
  .nxp-cookie-banner { left: 14px; right: 14px; bottom: 14px; width: auto; }
  html[data-scale="120"] { font-size: 112%; }
}
@media (max-width: 390px) {
  .nxp-brand-copy small { display: none; }
  .nxp-nav-actions { gap: 3px; }
  .nxp-access-nav { font-size: .75rem; }
}
