:root {
  --nx-bg: #ffffff;
  --nx-ink: #101318;
  --nx-muted: #5d6675;
  --nx-soft: #f4f7f9;
  --nx-line: #dce4ea;
  --nx-blue: #075f8f;
  --nx-cyan: #17a8b8;
  --nx-green: #27a56a;
  --nx-amber: #d98a18;
  --nx-dark: #111820;
  --nx-dark-2: #172330;
  --nx-radius: 8px;
  --nx-shadow: 0 22px 70px rgba(17, 24, 32, 0.12);
  --nx-shell: min(1180px, calc(100vw - 40px));
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.nx-theme {
  margin: 0;
  background: var(--nx-bg);
  color: var(--nx-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.screen-reader-text,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}

.skip-link:focus {
  z-index: 20;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  background: var(--nx-dark);
  color: #fff;
}

.nx-shell {
  width: var(--nx-shell);
  margin-inline: auto;
}

.nx-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(220, 228, 234, 0.85);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.nx-header__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.nx-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--nx-ink);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.nx-brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--nx-blue), var(--nx-cyan));
  color: #fff;
  font-weight: 900;
}

.nx-brand__text {
  font-size: 18px;
  white-space: nowrap;
}

.nx-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #263240;
  font-size: 15px;
  font-weight: 700;
}

.nx-nav a {
  text-decoration: none;
}

.nx-nav a:hover {
  color: var(--nx-blue);
}

.nx-nav__cta,
.nx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: var(--nx-radius);
  border: 1px solid transparent;
  background: var(--nx-blue);
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.15;
  box-shadow: 0 10px 30px rgba(7, 95, 143, 0.22);
}

.nx-nav__cta:hover,
.nx-btn:hover {
  background: #064d76;
  color: #fff;
}

.nx-btn--secondary {
  background: #fff;
  color: var(--nx-ink);
  border-color: var(--nx-line);
  box-shadow: none;
}

.nx-btn--secondary:hover {
  background: var(--nx-soft);
  color: var(--nx-ink);
}

.nx-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--nx-line);
  border-radius: var(--nx-radius);
  background: #fff;
}

.nx-menu-toggle span:not(.screen-reader-text) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--nx-ink);
}

.nx-main {
  overflow: hidden;
}

.nx-hero {
  padding: 94px 0 70px;
  background:
    linear-gradient(115deg, rgba(23, 168, 184, 0.1), transparent 34%),
    linear-gradient(0deg, #fff, #f7fafb);
}

.nx-hero--compact {
  padding: 62px 0 48px;
}

.nx-hero--article {
  padding: 58px 0 36px;
}

.nx-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 62px;
}

.nx-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.96;
  letter-spacing: 0;
}

.nx-hero--compact h1,
.nx-hero--article h1 {
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1;
}

.nx-hero p {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--nx-muted);
  font-size: 20px;
  line-height: 1.55;
}

.nx-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.nx-proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 640px;
  margin: 34px 0 0;
  padding: 0;
  border: 1px solid var(--nx-line);
  border-radius: var(--nx-radius);
  background: #fff;
}

.nx-proof-strip div {
  padding: 16px 18px;
  border-right: 1px solid var(--nx-line);
}

.nx-proof-strip div:last-child {
  border-right: 0;
}

.nx-proof-strip dt {
  color: var(--nx-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.nx-proof-strip dd {
  margin: 4px 0 0;
  font-size: 15px;
  font-weight: 900;
}

.nx-hero__visual {
  position: relative;
  min-width: 0;
}

.nx-browser-card {
  overflow: hidden;
  width: 100%;
  border: 1px solid #cfdce5;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--nx-shadow);
}

.nx-browser-card__top {
  display: flex;
  gap: 7px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--nx-line);
  background: #f8fbfc;
}

.nx-browser-card__top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--nx-line);
}

.nx-preview {
  padding: 30px;
}

.nx-preview strong {
  display: block;
  margin-bottom: 22px;
  font-size: 28px;
  line-height: 1.1;
}

.nx-preview__row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
  padding: 15px 0;
  border-bottom: 1px solid var(--nx-line);
}

.nx-preview__row span {
  color: var(--nx-muted);
}

.nx-preview__row b {
  color: var(--nx-green);
  text-align: right;
}

.nx-preview__meter {
  height: 10px;
  margin: 28px 0 0;
  border-radius: 999px;
  background: #e9f0f3;
}

.nx-preview__meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--nx-green), var(--nx-cyan));
}

.nx-section {
  padding: 76px 0;
}

.nx-section--muted {
  background: var(--nx-soft);
}

.nx-section--ink {
  background: var(--nx-dark);
  color: #fff;
}

.nx-section--ink p,
.nx-section--ink .nx-market-list span {
  color: rgba(255, 255, 255, 0.72);
}

.nx-section--cta {
  padding: 66px 0 82px;
  background: linear-gradient(135deg, var(--nx-dark), #0b3b54);
  color: #fff;
}

.nx-section-head {
  max-width: 780px;
  margin-bottom: 34px;
}

.nx-section-head h2,
.nx-split h2,
.nx-feature-list h2,
.nx-local-panel h2,
.nx-article-aside h2,
.nx-author-box h2,
.nx-footer h2,
.nx-cta h2,
.nx-content h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: 0;
}

.nx-section-head p,
.nx-feature-list p,
.nx-local-panel p,
.nx-cta p,
.nx-content p {
  color: var(--nx-muted);
}

.nx-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.nx-card-grid--services {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.nx-service-card,
.nx-post-card a {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid var(--nx-line);
  border-radius: var(--nx-radius);
  background: #fff;
  color: var(--nx-ink);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.nx-service-card:hover,
.nx-post-card a:hover {
  transform: translateY(-3px);
  border-color: rgba(23, 168, 184, 0.5);
  box-shadow: 0 18px 46px rgba(17, 24, 32, 0.1);
}

.nx-service-card span {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
}

.nx-service-card p {
  margin: 20px 0;
  color: var(--nx-muted);
}

.nx-service-card em {
  color: var(--nx-blue);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.nx-split,
.nx-two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 48px;
  align-items: start;
}

.nx-two-col--wide {
  grid-template-columns: minmax(0, 1fr) 290px;
}

.nx-market-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.nx-market-list a,
.nx-local-panel,
.nx-article-aside,
.nx-author-box {
  display: block;
  padding: 20px;
  border: 1px solid var(--nx-line);
  border-radius: var(--nx-radius);
  background: #fff;
  color: var(--nx-ink);
  text-decoration: none;
}

.nx-section--ink .nx-market-list a {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.nx-market-list strong {
  display: block;
  font-size: 18px;
}

.nx-market-list span {
  display: block;
  margin-top: 4px;
  color: var(--nx-muted);
  font-size: 14px;
}

.nx-feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.nx-feature-list article {
  padding-top: 24px;
  border-top: 3px solid var(--nx-cyan);
}

.nx-local-panel {
  position: sticky;
  top: 108px;
}

.nx-local-panel ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.nx-local-panel a,
.nx-article-aside a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--nx-line);
  color: var(--nx-blue);
  font-weight: 800;
  text-decoration: none;
}

.nx-local-panel a:last-child,
.nx-article-aside a:last-child {
  border-bottom: 0;
}

.nx-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.nx-cta p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.72);
}

.nx-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--nx-muted);
  font-size: 14px;
  font-weight: 800;
}

.nx-breadcrumbs a {
  color: var(--nx-blue);
  text-decoration: none;
}

.nx-faq {
  max-width: 860px;
}

.nx-faq details {
  border-top: 1px solid var(--nx-line);
}

.nx-faq details:last-child {
  border-bottom: 1px solid var(--nx-line);
}

.nx-faq summary {
  cursor: pointer;
  padding: 24px 0;
  font-size: 22px;
  font-weight: 900;
  list-style: none;
}

.nx-faq summary::-webkit-details-marker {
  display: none;
}

.nx-faq summary::after {
  content: "+";
  float: right;
  color: var(--nx-blue);
}

.nx-faq details[open] summary::after {
  content: "-";
}

.nx-faq p {
  margin-top: 0;
  color: var(--nx-muted);
}

.nx-article-head {
  max-width: 920px;
}

.nx-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
  color: var(--nx-muted);
  font-size: 14px;
  font-weight: 800;
}

.nx-article-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 780px);
  gap: 52px;
  padding-top: 54px;
  padding-bottom: 80px;
}

.nx-article-aside {
  position: sticky;
  top: 108px;
  align-self: start;
}

.nx-article-content {
  font-size: 18px;
}

.nx-article-content h2,
.nx-content h2 {
  margin-top: 42px;
  font-size: 34px;
  line-height: 1.12;
}

.nx-article-content h3,
.nx-content h3 {
  margin-top: 34px;
  font-size: 25px;
  line-height: 1.18;
}

.nx-article-content p,
.nx-article-content li,
.nx-content p,
.nx-content li {
  color: #303a47;
}

.nx-featured-image {
  margin: 0 0 32px;
  overflow: hidden;
  border-radius: var(--nx-radius);
}

.nx-author-box {
  margin-top: 52px;
  background: var(--nx-soft);
}

.nx-post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.nx-post-card {
  margin: 0;
}

.nx-post-card img {
  width: calc(100% + 48px);
  max-width: none;
  margin: -24px -24px 18px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.nx-post-card span {
  color: var(--nx-muted);
  font-size: 13px;
  font-weight: 800;
}

.nx-post-card h2 {
  margin: 10px 0 12px;
  font-size: 24px;
  line-height: 1.12;
}

.nx-post-card p {
  color: var(--nx-muted);
}

.nx-content {
  max-width: 920px;
}

.nx-footer {
  padding: 58px 0 22px;
  background: #0c1118;
  color: #fff;
}

.nx-footer__grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  gap: 34px;
}

.nx-footer p,
.nx-footer a {
  color: rgba(255, 255, 255, 0.72);
}

.nx-footer a {
  display: block;
  margin: 8px 0;
  text-decoration: none;
}

.nx-footer a:hover {
  color: #fff;
}

.nx-footer h2 {
  margin-bottom: 14px;
  font-size: 16px;
}

.nx-brand--footer {
  color: #fff;
}

.nx-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 46px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
}

.nx-footer__bottom span:last-child {
  display: flex;
  gap: 18px;
}

@media (max-width: 940px) {
  :root {
    --nx-shell: calc(100vw - 32px);
  }

  .nx-header__inner {
    min-height: 68px;
  }

  .nx-header .nx-shell {
    width: 100%;
    padding-inline: 16px;
  }

  .nx-menu-toggle {
    display: inline-block;
    position: fixed;
    top: 12px;
    right: 16px;
    flex: 0 0 44px;
    margin-left: auto;
  }

  .nx-nav {
    position: absolute;
    top: 68px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--nx-line);
    border-radius: var(--nx-radius);
    background: #fff;
    box-shadow: var(--nx-shadow);
  }

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

  .nx-nav a {
    padding: 13px 10px;
  }

  .nx-nav__cta {
    margin-top: 8px;
  }

  .nx-hero {
    padding: 58px 0 44px;
  }

  .nx-hero__grid,
  .nx-split,
  .nx-two-col,
  .nx-two-col--wide,
  .nx-article-layout,
  .nx-footer__grid {
    grid-template-columns: 1fr;
  }

  .nx-hero__grid {
    gap: 34px;
  }

  .nx-card-grid,
  .nx-feature-list {
    grid-template-columns: 1fr;
  }

  .nx-proof-strip {
    grid-template-columns: 1fr;
  }

  .nx-proof-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--nx-line);
  }

  .nx-proof-strip div:last-child {
    border-bottom: 0;
  }

  .nx-local-panel,
  .nx-article-aside {
    position: static;
  }

  .nx-cta,
  .nx-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  :root {
    --nx-shell: min(300px, calc(100vw - 96px));
  }

  body.nx-theme {
    font-size: 16px;
  }

  .nx-brand__text {
    font-size: 16px;
  }

  .nx-hero h1 {
    font-size: 26px;
    line-height: 1.08;
    overflow-wrap: break-word;
  }

  .nx-hero--compact h1,
  .nx-hero--article h1 {
    font-size: 34px;
  }

  .nx-hero p {
    font-size: 18px;
  }

  .nx-preview {
    padding: 22px;
  }

  .nx-preview strong {
    font-size: 25px;
  }

  .nx-preview__row {
    gap: 10px;
  }

  .nx-preview__row b,
  .nx-preview__row span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .nx-actions .nx-btn {
    width: 100%;
  }

  .nx-section {
    padding: 54px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
