@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,500;0,600;0,700;0,800;0,900;1,800;1,900&display=swap");

.np3 {
  --np3-page:       #FAFAF7;
  --np3-beige:      #ECEBE7;
  --np3-rich-beige: #6F685E;
  --np3-anthracite: #222222;
  --np3-carbon:     #121212;
  --np3-ash:        #424242;
  --np3-green:      #22E243;
  --np3-green-dark: #1AC137;
  --np3-gutter:     40px;

  background: var(--np3-page);
  font-family: Nunito, sans-serif;
  font-feature-settings: 'liga' off, 'clig' off;
  color: #000;
}

/* page-level rules follow the module's hero (:has), so they hold on any page that shows it, and not on one that only
   borrows its table (v1's desktop) */
body:has(.np3-hero) {
  background: #FAFAF7;
}

/* the hero is painted from the top of the page, under the fixed menu (nnavbar.css pushes the content below it) */
body:has(.np3-hero) #page .site-content {
  margin-top: 0 !important;
  overflow-x: clip;
}

/* the menu's desktop bar takes the page's column: 1410px inside the page's gutters (its own is 1312px inside 20px);
   its size unit follows the same edges */
@media (min-width: 1100px) {
  body:has(.np3-hero) .nnavbar-container {
    --nnav-u: min(1px, (100cqw - 80px) / 1312);
    width: 1410px;
    max-width: calc(100% - 80px);
  }
}

@media (min-width: 1100px) and (max-width: 1279px) {
  body:has(.np3-hero) .nnavbar-container {
    --nnav-u: min(1px, (100cqw - 64px) / 1312);
    max-width: calc(100% - 64px);
  }
}

/* the theme's ".page-template p" bottom margin; no component sets one, so this reset can outweigh them */
.np3 :is(p, ul, li, h1, h2, h3) {
  margin-bottom: 0;
}

:where(.np3) :where(ul) {
  padding: 0;
  list-style: none;
}

.np3 button {
  font: inherit;
}

:where(.np3) :where(button) {
  color: inherit;
}

.np3 [hidden] {
  display: none !important;
}

:where(.np3) :where(b, strong) {
  font-weight: inherit;
}

.np3-wrap {
  width: min(1410px, 100% - 2 * var(--np3-gutter));
  margin: 0 auto;
}

.np3 .np3-m { display: none; }

/* plans.cta: 54px pill, label left, ↗ right; the label wraps to two lines before it runs under the icon */
.np3btn {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 17px 20px 17px 24px;
  border: 1px solid transparent;
  border-radius: 64px;
  text-align: left;
  cursor: pointer;
  transition: background-color .2s ease-in-out, border-color .2s ease-in-out, color .2s ease-in-out;
}

.np3btn__label {
  flex: 1 1 0;
  min-width: 0;
  font-size: 15px;
  font-weight: 900;
  line-height: 18px;
  letter-spacing: .45px;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

.np3btn__label b,
.np3btn__label strong {
  font-weight: 900;
}

.np3btn__icon {
  flex: none;
  display: block;
  width: 16px;
  height: 16px;
}

.np3btn__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.np3btn--light { background: #FFF;                 border-color: #FFF;                 color: #000; }
.np3btn--green { background: var(--np3-green);     border-color: var(--np3-green);     color: #000; }
.np3btn--black { background: var(--np3-carbon);    border-color: var(--np3-carbon);    color: #FFF; }

@media (hover: hover) and (pointer: fine) {
  /* the green button turns black with a green label, the others turn green */
  .np3btn--green:hover { background: #000; border-color: #000; color: var(--np3-green); }
  .np3btn--light:hover,
  .np3btn--black:hover { background: var(--np3-green); border-color: var(--np3-green); color: #000; }
}

.np3btn:focus-visible {
  outline: 2px solid var(--np3-green);
  outline-offset: 2px;
}

/* the footer's app promo 64px under the comparison, like v2 */
@media (min-width: 1000px) {
  body:has(.np3-hero) .footer-2026-wrap { margin-top: 70px; }
}

@media (max-width: 1279px) {
  .np3 { --np3-gutter: 32px; }
}

@media (max-width: 999px) {
  .np3 .np3-d { display: none; }
  .np3 .np3-m { display: inline; }

  .np3-wrap { width: auto; }
}
