/* Notus Premium — base reset, typography, utilities */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body.np-body {
  margin: 0;
  color: var(--np-ink);
  background: var(--np-white);
  font-family: var(--np-font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--np-teal-bright);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--np-teal-light);
  outline-offset: 3px;
}

.np-skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10000;
  padding: 0.75rem 1rem;
  background: var(--np-white);
  color: var(--np-teal-deep);
  font-weight: 600;
  border: 1px solid var(--np-line-strong);
}

.np-skip:focus {
  top: 1rem;
}

.np-container {
  width: min(var(--np-container), calc(100% - 2.5rem));
  margin-inline: auto;
}

.np-container--wide {
  width: min(var(--np-container-wide), calc(100% - 2.5rem));
}

.np-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 var(--np-section-header-gap);
  color: var(--np-teal-light);
  font-family: var(--np-font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.np-eyebrow::before {
  content: "";
  width: 1.25rem;
  height: 1px;
  background: var(--np-orange);
}

.np-display {
  margin: 0;
  color: var(--np-teal-deep);
  font-family: var(--np-font-display);
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.01em;
  line-height: 1.08;
  text-transform: uppercase;
}

.np-display--xl {
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
}

.np-display--lg {
  font-size: clamp(2rem, 3.6vw, 3.1rem);
}

.np-display--md {
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.12;
}

.np-display--italic {
  font-style: italic;
}

.np-lede {
  margin: 0;
  max-width: 40rem;
  color: var(--np-muted);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  font-weight: 400;
  line-height: 1.6;
}

.np-prose {
  max-width: 42rem;
}

.np-prose p {
  margin: 0 0 1.15rem;
}

.np-prose p:last-child {
  margin-bottom: 0;
}

.np-section {
  padding: var(--np-section-y) 0;
  position: relative;
}

.np-section--compact {
  padding-block: var(--np-section-y-compact);
}

.np-section--tight-top {
  padding-top: var(--np-section-y-tight);
}

.np-section--flush-bottom {
  padding-bottom: 0;
}

.np-section-head {
  margin-bottom: var(--np-section-intro-gap);
}

.np-section .np-display + .np-lede {
  margin-top: var(--np-section-header-gap);
}

.np-section .np-display + .np-lede:last-child,
.np-section-head .np-lede {
  margin-bottom: 0;
}

.np-section--dark {
  background: var(--np-teal-deep);
  color: var(--np-white);
}

.np-section--dark .np-display,
.np-section--dark .np-lede,
.np-section--dark .np-prose {
  color: var(--np-white);
}

.np-section--dark .np-lede,
.np-section--dark .np-prose p {
  color: rgba(255, 255, 255, 0.86);
}

.np-section--tint {
  background: var(--np-offwhite);
}

.np-section--charcoal {
  background: var(--np-charcoal);
  color: var(--np-white);
  padding-block: var(--np-section-y-compact);
}

.np-hairline {
  height: 1px;
  background: var(--np-line);
  border: 0;
  margin: 0;
}

.np-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.85rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--np-radius);
  background: var(--np-teal-deep);
  color: var(--np-white);
  font-family: var(--np-font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background var(--np-duration) var(--np-ease), color var(--np-duration) var(--np-ease), border-color var(--np-duration) var(--np-ease), transform var(--np-duration) var(--np-ease);
}

.np-btn:hover {
  background: var(--np-teal-mid);
  color: var(--np-white);
}

.np-btn:active {
  transform: translateY(1px);
}

.np-btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--np-white);
}

.np-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.8);
  color: var(--np-white);
}

.np-btn--light {
  background: var(--np-white);
  color: var(--np-teal-deep);
}

.np-btn--light:hover {
  background: var(--np-offwhite);
  color: var(--np-teal-deep);
}

.np-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--np-teal-deep);
  font-weight: 600;
  text-decoration: none;
}

.np-link-arrow::after {
  content: "→";
  color: var(--np-orange);
  transition: transform var(--np-duration) var(--np-ease);
}

.np-link-arrow:hover::after {
  transform: translateX(3px);
}

.np-section--dark .np-link-arrow {
  color: var(--np-white);
}

.np-num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.np-reveal {
  opacity: 1;
  transform: none;
}

.js .np-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--np-duration-slow) var(--np-ease), transform var(--np-duration-slow) var(--np-ease);
}

.js .np-reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js .np-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
