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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  font-family: var(--nv-font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--nv-text);
  background-color: var(--nv-bg-surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

img {
  height: auto;
}

.nv-amp {
  font-family: var(--nv-font-sans);
  font-weight: 600;
  font-size: 0.88em;
}

[hidden] {
  display: none !important;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip Link */
.nv-skip {
  position: fixed;
  top: -120px;
  left: 16px;
  z-index: 100005;
  background: var(--nv-ink);
  color: var(--nv-white);
  padding: 10px 18px;
  border-radius: var(--nv-r-pill);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: top 0.2s var(--nv-ease);
}

.nv-skip:focus {
  top: 14px;
  outline: 3px solid var(--nv-orange);
  outline-offset: 2px;
}

/* Accessible Focus */
:focus-visible {
  outline: 3px solid var(--nv-orange);
  outline-offset: 2px;
}

/* Headings */
h1,
h2,
h3,
h4,
.nv-serif {
  font-family: var(--nv-font-serif);
  color: var(--nv-ink);
  margin: 0;
  letter-spacing: -0.02em;
}

h1 {
  font-weight: 600;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h2 {
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.15;
}

h3 {
  font-weight: 600;
  font-size: clamp(19px, 1.8vw, 22px);
  line-height: 1.25;
}

h4 {
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
}

p {
  margin: 0;
  color: var(--nv-body);
}

/* Containers & Sections */
.nv-container {
  width: 100%;
  max-width: var(--nv-container);
  margin-inline: auto;
  padding-inline: var(--nv-gutter);
}

.nv-container--md {
  max-width: var(--nv-container-md);
}

.nv-container--sm {
  max-width: var(--nv-container-sm);
}

.nv-sec {
  padding-block: var(--nv-sec-py);
}

.nv-sec--grey {
  background-color: var(--nv-bg-grey);
}

.nv-sec--surf {
  background-color: var(--nv-bg-surface);
}

.nv-sec--white {
  background-color: var(--nv-white);
}

.nv-sec-head {
  max-width: 720px;
  margin-bottom: clamp(28px, 4vw, 46px);
}

.nv-sec-head--center {
  text-align: center;
  margin-inline: auto;
}

.nv-sec-head p {
  margin-top: 12px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--nv-muted);
}

/* Eyebrow & Pills */
.nv-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--nv-font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nv-orange-dark);
  margin-bottom: 12px;
}

.nv-eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--nv-orange);
  border-radius: 2px;
}

.nv-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--nv-r-pill);
  background: var(--nv-peach);
  color: var(--nv-ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.nv-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--nv-orange);
  flex: none;
}

/* Buttons */
.nv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--nv-r-pill);
  border: 1px solid transparent;
  font-family: var(--nv-font-sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s var(--nv-ease), color 0.2s var(--nv-ease), border-color 0.2s var(--nv-ease), transform 0.2s var(--nv-ease);
}

.nv-btn:hover {
  transform: translateY(-1px);
}

.nv-btn--primary {
  background: var(--nv-orange-btn);
  color: var(--nv-white);
}

.nv-btn--primary:hover {
  background: var(--nv-orange-dark);
}

.nv-btn--dark {
  background: var(--nv-ink);
  color: var(--nv-white);
}

.nv-btn--dark:hover {
  background: var(--nv-orange);
}

.nv-btn--ghost {
  background: transparent;
  color: var(--nv-ink);
  border-color: var(--nv-border);
}

.nv-btn--ghost:hover {
  background: var(--nv-ink);
  color: var(--nv-white);
  border-color: var(--nv-ink);
}

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

.nv-btn--outline-white:hover {
  background: var(--nv-white);
  color: var(--nv-ink);
  border-color: var(--nv-white);
}

.nv-btn--sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: 14px;
}

/* Cards & Tags */
.nv-card {
  background: var(--nv-bg-surface);
  border: 1px solid var(--nv-border);
  border-radius: var(--nv-r-card);
  padding: 26px;
  transition: border-color 0.25s var(--nv-ease), transform 0.25s var(--nv-ease);
}

.nv-card:hover {
  border-color: var(--nv-orange);
}

.nv-ico-tile {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--nv-peach-tint);
  color: var(--nv-orange-dark);
  display: grid;
  place-items: center;
  flex: none;
}

.nv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nv-tags li,
.nv-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: var(--nv-r-pill);
  background: var(--nv-peach);
  color: var(--nv-ink);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
}

.nv-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--nv-orange-dark);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: color 0.2s var(--nv-ease), gap 0.2s var(--nv-ease);
}

.nv-link:hover {
  color: var(--nv-ink);
  gap: 10px;
}

/* Placeholder notice styling */
.nv-todo {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--nv-warn-bg);
  border: 1px dashed var(--nv-warn-border);
  color: var(--nv-warn-text);
  font-size: 0.9em;
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .nv-btn,
  .nv-card,
  .nv-link {
    transition: none;
  }
  .nv-btn:hover {
    transform: none;
  }
}
