﻿:root {
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  font-size: var(--nx-token-typography-body, 1rem);
  line-height: 1.55;
  color: var(--nx-color-text, #111827);
  background: #f3f6fb;
}

.nx-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1201;
  background: var(--nx-color-primary, #2563eb);
  color: #fff;
  border-radius: 0 0 0.4rem 0.4rem;
  padding: 0.45rem 0.65rem;
  text-decoration: none;
}

.nx-skip-link:focus {
  left: 0.75rem;
}

.nx-site-header {
  position: static;
  z-index: 50;
  backdrop-filter: none;
  background: #0d1117;
  border-bottom: 1px solid #1f2733;
  overflow: visible;
}

.nx-site-nav-wrap {
  min-height: 64px;
  height: 64px;
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  position: relative;
  padding-left: 320px;
  padding-bottom: 0.2rem;
}

.nx-site-brand {
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 1.05rem;
  position: absolute;
  left: 0;
  top: 100%;
  transform: translateY(-50%);
  z-index: 2;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.nx-site-brand img {
  display: block;
  height: 116px;
  max-width: 300px;
  width: auto;
}

.nx-site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0;
}

.nx-site-nav a {
  color: #dbe5f2;
  text-decoration: none;
  font-size: 0.95rem;
  white-space: nowrap;
}

.nx-site-footer-nav a {
  color: #344a60;
  text-decoration: none;
  font-size: 0.95rem;
}

.nx-site-nav a:hover,
.nx-site-footer-nav a:hover {
  color: #ff8a4b;
}

.nx-site-nav a.is-active {
  color: #ff8a4b;
  font-weight: 600;
}

.nx-site-nav a {
  padding-bottom: 0.2rem;
  border-bottom: 2px solid transparent;
}

.nx-site-nav a:hover,
.nx-site-nav a.is-active {
  border-bottom-color: #ff8a4b;
}

.nx-site-cta {
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #ef6b2d 0%, #d6531a 100%);
  border-radius: 0.4rem;
  padding: 0.58rem 1.05rem;
  box-shadow: 0 8px 18px rgba(214, 83, 26, 0.28);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
  margin-bottom: 0;
}

.nx-site-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(214, 83, 26, 0.34);
}

.nx-site-nav-toggle {
  display: none;
}

.nx-hero {
  padding: 9.4rem 0 1.8rem;
  background:
    radial-gradient(900px 260px at 5% -20%, rgba(20, 84, 146, 0.18), transparent),
    radial-gradient(760px 260px at 100% -30%, rgba(239, 107, 45, 0.16), transparent),
    #fff;
  border-bottom: 1px solid #dbe3ef;
}

.nx-page-hero {
  padding: 9.2rem 0 2rem;
  background: #eef3fa;
}

.nx-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.nx-trust-row {
  margin-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.nx-trust-chip {
  border: 1px solid #c6d4e6;
  border-radius: 0.35rem;
  font-size: var(--nx-token-typography-caption, 0.75rem);
  padding: 0.35rem 0.6rem;
  background: #f5f8fd;
}

.nx-btn-ghost {
  background: transparent;
  color: #0b4f86;
  border: 1px solid #7f9fc2;
}

.nx-hero-card {
  align-self: start;
}

.nx-kpi-list {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.5rem;
}

.nx-section {
  padding: 2.5rem 0;
}

.nx-section-soft {
  background: #f6f8fa;
  border-top: 1px solid var(--nx-color-border, #e5e7eb);
  border-bottom: 1px solid var(--nx-color-border, #e5e7eb);
}

.nx-service-grid {
  align-items: stretch;
}

.nx-service-card {
  display: grid;
  gap: 0.6rem;
}

.nx-service-card .nx-btn {
  margin-top: auto;
}

.nx-service-price {
  font-weight: 700;
  color: var(--nx-color-primary, #2563eb);
}

.nx-service-card-featured {
  border-color: color-mix(in srgb, var(--nx-color-primary, #2563eb) 24%, var(--nx-color-border, #e5e7eb));
  box-shadow: none;
}

.nx-services-cta {
  text-align: left;
}

.nx-services-cta p {
  max-width: none;
}

.nx-services-cta .nx-btn {
  margin-top: 0.75rem;
}

.nx-home-proof {
  padding-top: 0.6rem;
}

.nx-proof-card {
  min-height: 100%;
}

.nx-proof-card .nx-h2 {
  margin: 0.15rem 0 0.2rem;
}

.nx-home-center-cta {
  display: flex;
  justify-content: center;
  margin-top: 1.2rem;
}

.nx-contact-micro-info {
  margin-top: 1rem;
  display: grid;
  gap: 0.35rem;
}

.nx-contact-micro-info p {
  margin: 0;
}

.nx-mt-1 {
  margin-top: 1rem;
}

.nx-mt-075 {
  margin-top: 0.75rem;
}

.nx-notfound-card {
  max-width: 720px;
  margin-top: 2rem;
}

.nx-quote {
  margin: 0;
  border-left: 3px solid var(--nx-color-primary, #2563eb);
  padding-left: 0.75rem;
}

.nx-faq-list {
  display: grid;
  gap: 0.6rem;
}

.nx-faq-item {
  background: var(--nx-color-surface, #f8fafc);
  border: 1px solid var(--nx-color-border, #e5e7eb);
  border-radius: var(--nx-token-radius-md, 0.5rem);
  padding: 0.7rem 0.8rem;
}

.nx-faq-item summary {
  cursor: pointer;
  font-weight: 600;
}

.nx-faq-item p {
  margin: 0.5rem 0 0;
}

.nx-site-footer {
  border-top: 1px solid #ccd8e8;
  background: #edf2f7;
  color: #2b3e53;
  padding: 1.5rem 0;
}

.nx-site-footer-logo {
  display: block;
  height: 78px;
  width: auto;
}

.nx-site-footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nx-site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.nx-container {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

.nx-form-grid {
  display: grid;
  gap: 0.75rem;
}

.nx-form-grid > div {
  display: grid;
  gap: 0.4rem;
}

.nx-form-grid label,
.nx-field-label {
  display: block;
  font-weight: 600;
  margin: 0;
}

.nx-grid {
  display: grid;
  gap: var(--nx-token-spacing-lg, 1rem);
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.nx-col-12 { grid-column: span 12; }
.nx-col-8 { grid-column: span 8; }
.nx-col-7 { grid-column: span 7; }
.nx-col-6 { grid-column: span 6; }
.nx-col-5 { grid-column: span 5; }
.nx-col-4 { grid-column: span 4; }
.nx-col-3 { grid-column: span 3; }

.nx-display { font-size: 2.45rem; line-height: 1.18; letter-spacing: -0.01em; }
.nx-h1 { font-size: 2rem; line-height: 1.22; letter-spacing: -0.01em; }
.nx-h2 { font-size: 1.55rem; line-height: 1.28; letter-spacing: -0.01em; }
.nx-h3 { font-size: 1.2rem; line-height: 1.32; }
.nx-body-xl { font-size: var(--nx-token-typography-bodyxl, 1.125rem); }
.nx-small { font-size: var(--nx-token-typography-small, 0.875rem); }
.nx-caption { font-size: var(--nx-token-typography-caption, 0.75rem); }
.nx-code { font-family: var(--nx-token-typography-fontfamilycode, monospace); }

.nx-layout-blank,
.nx-layout-auth,
.nx-layout-dashboard,
.nx-layout-website {
  min-height: 100vh;
}

.nx-layout-auth {
  display: grid;
  place-items: center;
  background: var(--nx-color-surface, #f8fafc);
}

.nx-card {
  background: #fff;
  border: 1px solid #d9e2ef;
  border-radius: 0.25rem;
  box-shadow: 0 8px 22px rgba(14, 45, 78, 0.06);
  padding: 1.25rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.nx-card:hover {
  box-shadow: 0 14px 28px rgba(14, 45, 78, 0.12);
  transform: none;
  border-color: color-mix(in srgb, var(--nx-color-primary, #2563eb) 18%, var(--nx-color-border, #e5e7eb));
}

.nx-btn {
  appearance: none;
  border: 0;
  border-radius: 0.35rem;
  background: #0b4f86;
  color: #fff;
  cursor: pointer;
  padding: 0.62rem 1rem;
  box-shadow: none;
  transition: background-color var(--nx-token-animation-fast, 120ms) var(--nx-token-transition-easing, ease);
}

.nx-btn[disabled] {
  cursor: not-allowed;
  opacity: var(--nx-token-opacity-disabled, 0.5);
}

.nx-btn.is-loading {
  position: relative;
}

.nx-btn:hover {
  background-color: #083b63;
}

.nx-btn:active {
  transform: none;
}

.nx-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.nx-chip {
  border: 1px solid #cedaeb;
  background: #f6f9fe;
  color: #224363;
  border-radius: 9999px;
  padding: 0.28rem 0.62rem;
  font-size: 0.78rem;
}

.nx-service-thumb {
  width: 52px;
  height: 52px;
  border-radius: 0.45rem;
  border: 1px solid #d7e1ef;
  background: #f3f6fb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nx-service-thumb img {
  width: 28px;
  height: 28px;
}

.nx-card-pro {
  display: grid;
  gap: 0.85rem;
  align-content: start;
  border-top: 4px solid #0b4f86;
  background: linear-gradient(180deg, #f9fbff 0%, #ffffff 100%);
  border-color: #c8d8eb;
}

.nx-card-pro-meta {
  margin: 0;
  color: #5b738d;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nx-card-pro-title {
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.32;
}

.nx-card-pro p {
  margin: 0;
}

.nx-card-pro .nx-btn,
.nx-card-pro .nx-btn-ghost {
  margin-top: 0.25rem;
}

.nx-card-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 0.25rem;
  color: #1f425f;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid #9fb3ca;
  padding-bottom: 0.12rem;
}

.nx-card-link:hover {
  color: #0b4f86;
  border-bottom-color: #0b4f86;
}

.nx-input,
.nx-select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--nx-color-border, #e5e7eb);
  border-radius: var(--nx-token-radius-md, 0.5rem);
  background: var(--nx-color-background, #fff);
  color: var(--nx-color-text, #111827);
  padding: 0.625rem 0.75rem;
}

.nx-input.is-invalid,
.nx-select.is-invalid {
  border-color: var(--nx-color-danger, #dc2626);
}

.nx-field-error {
  color: var(--nx-color-danger, #dc2626);
  font-size: var(--nx-token-typography-caption, 0.75rem);
}

.nx-textarea {
  width: 100%;
  min-height: 120px;
  border: 1px solid var(--nx-color-border, #e5e7eb);
  border-radius: var(--nx-token-radius-md, 0.5rem);
  background: var(--nx-color-background, #fff);
  color: var(--nx-color-text, #111827);
  padding: 0.625rem 0.75rem;
  resize: vertical;
}

.nx-textarea-wrap {
  display: grid;
  gap: 0.3rem;
}

.nx-textarea-counter {
  color: var(--nx-color-muted, #64748b);
  font-size: var(--nx-token-typography-caption, 0.75rem);
  text-align: right;
}

.nx-select-wrap {
  display: grid;
  gap: 0.4rem;
}

.nx-select-search {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--nx-color-border, #e5e7eb);
  border-radius: var(--nx-token-radius-sm, 0.25rem);
  background: var(--nx-color-background, #fff);
  color: var(--nx-color-text, #111827);
  padding: 0.45rem 0.6rem;
}

.nx-check,
.nx-radio,
.nx-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.nx-switch-track {
  width: 2rem;
  height: 1.1rem;
  border-radius: 9999px;
  background: var(--nx-color-muted, #64748b);
  position: relative;
}

.nx-switch-track::after {
  content: '';
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 9999px;
  background: #fff;
  position: absolute;
  top: 0.125rem;
  left: 0.125rem;
  transition: transform var(--nx-token-animation-fast, 120ms) var(--nx-token-transition-easing, ease);
}

.nx-switch input:checked + .nx-switch-track {
  background: var(--nx-color-primary, #2563eb);
}

.nx-switch input:checked + .nx-switch-track::after {
  transform: translateX(0.9rem);
}

.nx-alert,
.nx-banner {
  border-radius: var(--nx-token-radius-md, 0.5rem);
  border: 1px solid transparent;
  padding: 0.6rem 0.75rem;
}

.nx-alert-info,
.nx-banner-info {
  background: color-mix(in srgb, var(--nx-color-primary, #2563eb) 12%, transparent);
  border-color: color-mix(in srgb, var(--nx-color-primary, #2563eb) 32%, transparent);
}

.nx-alert-success,
.nx-banner-success {
  background: color-mix(in srgb, var(--nx-color-success, #16a34a) 14%, transparent);
  border-color: color-mix(in srgb, var(--nx-color-success, #16a34a) 32%, transparent);
}

.nx-alert-warning,
.nx-banner-warning {
  background: color-mix(in srgb, var(--nx-color-warning, #d97706) 14%, transparent);
  border-color: color-mix(in srgb, var(--nx-color-warning, #d97706) 32%, transparent);
}

.nx-alert-danger,
.nx-banner-danger {
  background: color-mix(in srgb, var(--nx-color-danger, #dc2626) 14%, transparent);
  border-color: color-mix(in srgb, var(--nx-color-danger, #dc2626) 32%, transparent);
}

.nx-pagination {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nx-page {
  border: 1px solid var(--nx-color-border, #e5e7eb);
  border-radius: var(--nx-token-radius-sm, 0.25rem);
  color: inherit;
  text-decoration: none;
  padding: 0.35rem 0.55rem;
}

.nx-page.is-active {
  background: var(--nx-color-primary, #2563eb);
  border-color: var(--nx-color-primary, #2563eb);
  color: #fff;
}

.nx-page.is-disabled {
  pointer-events: none;
  opacity: var(--nx-token-opacity-disabled, 0.5);
}

.nx-tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.nx-tab {
  border: 1px solid var(--nx-color-border, #e5e7eb);
  border-radius: var(--nx-token-radius-md, 0.5rem);
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 0.4rem 0.75rem;
}

.nx-tab.is-active {
  background: var(--nx-color-primary, #2563eb);
  border-color: var(--nx-color-primary, #2563eb);
  color: #fff;
}

.nx-tab-panel {
  display: none;
  border: 1px solid var(--nx-color-border, #e5e7eb);
  border-radius: var(--nx-token-radius-md, 0.5rem);
  padding: 0.75rem;
}

.nx-tab-panel.is-active {
  display: block;
}

.nx-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--nx-color-border, #e5e7eb);
  border-radius: var(--nx-token-radius-md, 0.5rem);
  background: var(--nx-color-background, #fff);
}

.nx-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

.nx-table th,
.nx-table td {
  border-bottom: 1px solid var(--nx-color-border, #e5e7eb);
  padding: 0.7rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.nx-table th {
  white-space: nowrap;
  font-size: 0.92rem;
}

.nx-table-sort-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  padding: 0;
}

.nx-table th[aria-sort='ascending'] .nx-table-sort-btn::after {
  content: ' ↑';
  color: var(--nx-color-primary, #2563eb);
}

.nx-table th[aria-sort='descending'] .nx-table-sort-btn::after {
  content: ' ↓';
  color: var(--nx-color-primary, #2563eb);
}

.nx-modal {
  position: fixed;
  inset: 0;
  z-index: var(--nx-token-zindex-modal, 1100);
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.35);
  padding: 1rem;
}

.nx-modal-dialog {
  width: min(520px, 100%);
  background: var(--nx-color-background, #fff);
  color: var(--nx-color-text, #111827);
  border-radius: var(--nx-token-radius-lg, 0.75rem);
  border: 1px solid var(--nx-color-border, #e5e7eb);
  padding: 1rem;
}

.nx-toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: var(--nx-token-zindex-toast, 1200);
  background: var(--nx-color-text, #111827);
  color: var(--nx-color-background, #fff);
  border-radius: var(--nx-token-radius-md, 0.5rem);
  padding: 0.6rem 0.8rem;
  box-shadow: var(--nx-token-shadow-md, 0 8px 20px rgba(2, 6, 23, 0.12));
}

.nx-input:focus,
.nx-select:focus,
.nx-select-search:focus,
.nx-textarea:focus,
.nx-btn:focus {
  outline: 2px solid var(--nx-color-primary, #2563eb);
  outline-offset: 2px;
}

main p {
  max-width: 70ch;
}

@media (max-width: 992px) {
  .nx-site-nav-wrap {
    padding-left: 0;
    padding-bottom: 0.8rem;
    align-items: center;
  }

  .nx-col-8,
  .nx-col-7,
  .nx-col-6,
  .nx-col-5,
  .nx-col-4,
  .nx-col-3 {
    grid-column: span 12;
  }

  .nx-site-nav-toggle {
    display: inline-flex;
    margin-left: auto;
    border: 1px solid #33465b;
    border-radius: 0.35rem;
    background: transparent;
    color: #dbe5f2;
    padding: 0.35rem 0.55rem;
    transform: translateY(8px);
  }

  .nx-site-nav {
    display: none;
    position: absolute;
    top: 64px;
    right: 1rem;
    left: 1rem;
    padding: 0.8rem;
    border: 1px solid #253345;
    border-radius: var(--nx-token-radius-md, 0.5rem);
    background: #101821;
    flex-direction: column;
    align-items: flex-start;
  }

  .nx-site-brand {
    position: relative;
    left: auto;
    top: auto;
    padding: 0;
    transform: none;
  }

  .nx-site-brand img {
    height: 84px;
    max-width: 230px;
  }

  .nx-site-nav.is-open {
    display: flex;
  }

  .nx-site-cta {
    display: none;
  }

  .nx-display {
    font-size: 2rem;
  }


  .nx-site-footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .nx-page-hero {
    padding-top: 7rem;
  }

  .nx-card {
    padding: 1rem;
  }

  .nx-table {
    min-width: 560px;
  }
}

@media (max-width: 640px) {
  .nx-table {
    min-width: 0;
  }

  .nx-table thead {
    display: none;
  }

  .nx-table,
  .nx-table tbody,
  .nx-table tr,
  .nx-table td {
    display: block;
    width: 100%;
  }

  .nx-table tr {
    border-bottom: 1px solid var(--nx-color-border, #e5e7eb);
    padding: 0.35rem 0;
  }

  .nx-table td {
    border-bottom: 0;
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 0.6rem;
    padding: 0.45rem 0.7rem;
  }

  .nx-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--nx-color-muted, #64748b);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nx-btn,
  .nx-card,
  .nx-site-cta {
    transition: none;
  }
}
