/* Shared layout primitives used by every section. */

.section {
  padding: var(--section-y) var(--gutter);
  background: var(--nx-bone);
}

.section--bone-2 {
  background: var(--nx-bone-2);
}

.section--ink {
  background: var(--nx-ink);
  position: relative;
  overflow: hidden;
}

.shell {
  max-width: var(--shell);
  margin: 0 auto;
}

.shell--wide {
  max-width: var(--shell-wide);
}

.shell--narrow {
  max-width: 880px;
}

.shell--relative {
  position: relative;
}

/* Section heading block */

.section-head {
  margin-bottom: clamp(36px, 4vw, 56px);
}

.section-head--54 {
  max-width: 54ch;
}

.section-head--52 {
  max-width: 52ch;
}

.section-head--46 {
  max-width: 46ch;
}

/* Two sections tighten the gap under their heading */
.section-head--gap-52 {
  margin-bottom: clamp(34px, 4vw, 52px);
}

.section-head--gap-46 {
  margin-bottom: clamp(30px, 3.6vw, 46px);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  color: var(--nx-500);
}

.eyebrow--muted {
  color: var(--nx-400);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-top: 14px;
}

.section-title--light {
  color: var(--nx-white);
}

/* Decorative brand sparkles — purely ornamental, never focusable */

.sparkle {
  position: absolute;
  opacity: .07;
  pointer-events: none;
  user-select: none;
}

/* Buttons */

.btn {
  display: inline-block;
  text-align: center;
  font-weight: 600;
  border-radius: 12px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.btn--primary {
  background: var(--nx-billing);
  color: var(--nx-white);
}

.btn--primary:hover {
  color: var(--nx-white);
}

.btn--ghost {
  background: transparent;
  color: var(--nx-ink);
  border: 1.5px solid var(--nx-300);
  transition: border-color .25s var(--ease), background .25s;
}

.btn--ghost:hover {
  border-color: var(--nx-ink);
  background: var(--nx-bone-2);
  color: var(--nx-ink);
}

.btn--outline-dark {
  color: var(--nx-white);
  border: 1.5px solid var(--nx-ink-3);
  padding: 13px 24px;
  font-size: 15px;
  transition: border-color .25s var(--ease), background .25s;
}

.btn--outline-dark:hover {
  border-color: var(--nx-billing);
  background: var(--nx-ink-2);
  color: var(--nx-white);
}

.btn--lg {
  font-size: 17px;
  padding: 16px 30px;
}

.btn--lg.btn--primary {
  box-shadow: 0 6px 18px rgba(16, 185, 129, .26);
}

.btn--lg.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(16, 185, 129, .36);
}

.btn--xl {
  font-size: 18px;
  padding: 18px 36px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(16, 185, 129, .28);
}

.btn--xl:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(16, 185, 129, .4);
}

/* Scroll-reveal: JS adds the start state so no-JS visitors see finished content */

[data-reveal].is-hidden {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
