/* ==========================================================================
   Texora IT — TYPOGRAPHY SYSTEM
   Display face: Space Grotesk (headings, stats, signature moments)
   Body face:    Inter (paragraphs, UI copy)
   Utility face: JetBrains Mono (labels, data, code, eyebrows)

   NOTE ON WEBFONTS: this template ships font-stack tokens only. Add your
   licensed Space Grotesk / Inter / JetBrains Mono files to /assets/fonts/
   and the @font-face block below, or link Google Fonts in <head>, before
   go-live. System fonts are used as the fallback so Phase 0 renders
   correctly without any font files present.
   ========================================================================== */

/*
@font-face {
  font-family: "Space Grotesk";
  src: url("../../fonts/space-grotesk/SpaceGrotesk-Variable.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../../fonts/inter/Inter-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../../fonts/jetbrains-mono/JetBrainsMono-Variable.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
*/

body {
  font-family: var(--nx-font-body);
  font-size: var(--nx-fs-md);
  font-weight: var(--nx-fw-regular);
  line-height: var(--nx-lh-body);
  color: var(--nx-text-primary);
  background-color: var(--nx-body-bg);
  transition: var(--nx-transition-colors);
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--nx-font-display);
  font-weight: var(--nx-fw-semibold);
  line-height: var(--nx-lh-heading);
  letter-spacing: var(--nx-ls-tight);
  color: var(--nx-text-primary);
  margin-bottom: var(--nx-space-4);
}

h1, .h1 { font-size: var(--nx-fs-h1); line-height: var(--nx-lh-tight); }
h2, .h2 { font-size: var(--nx-fs-h2); line-height: var(--nx-lh-tight); }
h3, .h3 { font-size: var(--nx-fs-h3); }
h4, .h4 { font-size: var(--nx-fs-h4); }
h5, .h5 { font-size: var(--nx-fs-h5); }
h6, .h6 { font-size: var(--nx-fs-h6); }

.nx-display {
  font-family: var(--nx-font-display);
  font-size: var(--nx-fs-display);
  font-weight: var(--nx-fw-bold);
  line-height: 1.05;
  letter-spacing: var(--nx-ls-tight);
}

p {
  color: var(--nx-text-secondary);
  margin-bottom: var(--nx-space-4);
}

p:last-child {
  margin-bottom: 0;
}

.lead,
.nx-lead {
  font-size: var(--nx-fs-lead);
  font-weight: var(--nx-fw-regular);
  line-height: var(--nx-lh-loose);
  color: var(--nx-text-secondary);
}

small, .small {
  font-size: var(--nx-fs-sm);
}

/* Eyebrow / kicker label — the mono utility face used as a signature device
   for section labels, badges and data points across the template. */
.nx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--nx-space-2);
  font-family: var(--nx-font-mono);
  font-size: var(--nx-fs-sm);
  font-weight: var(--nx-fw-medium);
  letter-spacing: var(--nx-ls-eyebrow);
  text-transform: uppercase;
  color: var(--nx-primary);
}

.nx-eyebrow::before {
  content: "" !important;
  display: inline-block !important;
  width: 18px !important;
  height: 2px !important; 
  background: #2f5dfd !important;
  flex-shrink: 0 !important;
  vertical-align: middle !important;
}

.nx-mono {
  font-family: var(--nx-font-mono);
}
.nx-text-gradient {
    background: linear-gradient(90deg, var(--nx-signal-600), var(--nx-circuit-600)) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    display: inline-block;
}
.nx-text-gradient * {
    background: inherit !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
}
a {
  color: var(--nx-primary);
  transition: var(--nx-transition-colors);
}

a:hover,
a:focus {
  color: var(--nx-primary-hover);
}

/* Links that shouldn't inherit the anchor treatment (cards, nav, etc.) */
.nx-link-reset,
.nx-link-reset:hover {
  color: inherit;
  text-decoration: none;
}

blockquote {
  font-family: var(--nx-font-display);
  font-size: var(--nx-fs-lg);
  line-height: var(--nx-lh-heading);
  color: var(--nx-text-primary);
  border-left: 3px solid var(--nx-primary);
  padding-left: var(--nx-space-5);
  margin: var(--nx-space-6) 0;
}

code {
  font-family: var(--nx-font-mono);
  font-size: 0.9em;
  color: var(--nx-secondary);
  background: var(--nx-secondary-soft);
  padding: 0.15em 0.45em;
  border-radius: var(--nx-radius-xs);
}

hr {
  border-color: var(--nx-border-color);
  opacity: 1;
}

::marker {
  color: var(--nx-primary);
}
