/* AppSolute public redesign — scoped to .np (new public). No dependency on legacy /css. */

@font-face {
  font-family: appsolutefont;
  src: url("/css/fonts/AppSoluteFontMedium.woff2") format("woff2"),
    url("/css/fonts/AppSoluteFontMedium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

.np {
  --np-accent: #d9083c;
  --np-accent-dark: #b00630;
  --np-ink: #121417;
  --np-ink-soft: #3a3f47;
  --np-muted: #6b7280;
  --np-line: rgba(18, 20, 23, 0.1);
  --np-surface: #f7f8fa;
  --np-surface-2: #eef1f5;
  --np-white: #ffffff;
  --np-hero-overlay: linear-gradient(
    120deg,
    rgba(18, 20, 23, 0.78) 0%,
    rgba(18, 20, 23, 0.45) 55%,
    rgba(217, 8, 60, 0.35) 100%
  );
  --np-font-display: "Syne", sans-serif;
  --np-font-body: "Source Sans 3", sans-serif;
  --np-radius: 14px;
  --np-max: 1120px;
  --np-pad: clamp(1.25rem, 4vw, 2rem);
  --np-section-y: clamp(4rem, 10vw, 7rem);

  color: var(--np-ink);
  font-family: var(--np-font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(217, 8, 60, 0.08), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(18, 20, 23, 0.05), transparent 50%),
    var(--np-surface);
  min-height: 100vh;
}

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

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

.np a:hover {
  color: var(--np-accent);
}

.np img {
  max-width: 100%;
  display: block;
}

.np-wrap {
  width: min(100% - 2 * var(--np-pad), var(--np-max));
  margin-inline: auto;
}

.np-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.np-main {
  flex: 1;
}

/* ——— Nav ——— */
.np-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(247, 248, 250, 0.86);
  border-bottom: 1px solid var(--np-line);
  animation: np-nav-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes np-nav-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.np-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.np-nav__links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.np-nav__links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--np-ink-soft);
}

.np-nav__links a:hover,
.np-nav__links a[aria-current="page"] {
  color: var(--np-accent);
}

.np-nav__cta {
  text-decoration: none !important;
}

.np-nav__toggle {
  display: none;
  border: 1px solid var(--np-line);
  background: var(--np-white);
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 820px) {
  .np-nav__toggle {
    display: inline-flex;
  }

  .np-nav__links {
    display: none;
    position: absolute;
    inset: calc(100% + 0px) var(--np-pad) auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem;
    background: var(--np-white);
    border: 1px solid var(--np-line);
    border-radius: var(--np-radius);
    box-shadow: 0 16px 40px rgba(18, 20, 23, 0.1);
  }

  .np-nav__links.is-open {
    display: flex;
  }

  .np-nav__links li {
    border-bottom: 1px solid var(--np-line);
  }

  .np-nav__links li:last-child {
    border-bottom: 0;
  }

  .np-nav__links a,
  .np-nav__links .np-btn {
    display: block;
    padding: 0.85rem 0.75rem;
  }
}

/* ——— Brand ——— */
.np-brand {
  font-family: appsolutefont, var(--np-font-display);
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  text-decoration: none !important;
  color: var(--np-ink);
}

.np-brand__accent {
  color: var(--np-accent);
}

.np-brand--lg {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  line-height: 1;
}

.np-brand--on-dark {
  color: var(--np-white);
}

/* ——— Buttons ——— */
.np-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-family: var(--np-font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none !important;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease,
    border-color 0.2s ease;
}

.np-btn:hover {
  transform: translateY(-1px);
  color: inherit;
}

.np-btn--primary {
  background: var(--np-accent);
  color: var(--np-white) !important;
}

.np-btn--primary:hover {
  background: var(--np-accent-dark);
  color: var(--np-white) !important;
}

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

.np-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--np-white) !important;
}

.np-btn--outline {
  background: var(--np-white);
  border-color: var(--np-line);
  color: var(--np-ink) !important;
}

.np-btn--outline:hover {
  border-color: var(--np-accent);
  color: var(--np-accent) !important;
}

.np-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ——— Hero ——— */
.np-hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--np-white);
}

.np-hero__media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, #1a1d22 0%, #2a3038 45%, #5a1424 100%);
  overflow: hidden;
}

.np-hero__media img,
.np-hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.np-hero__media--ken img,
.np-hero__media--ken video {
  transform: scale(1.08);
  animation: np-ken 18s ease-in-out infinite alternate;
}

.np-hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--np-hero-overlay);
}

.np-hero__content {
  position: relative;
  z-index: 1;
  padding: clamp(5rem, 12vw, 8rem) 0 clamp(3.5rem, 8vw, 5.5rem);
  max-width: 38rem;
}

.np-hero__headline {
  font-family: var(--np-font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6.5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0.85rem 0 1rem;
  opacity: 0;
  transform: translateY(18px);
  animation: np-rise 0.8s ease 0.15s forwards;
}

.np-hero__lede {
  margin: 0 0 1.75rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 32rem;
  opacity: 0;
  transform: translateY(18px);
  animation: np-rise 0.8s ease 0.3s forwards;
}

.np-hero .np-cta-row {
  opacity: 0;
  transform: translateY(18px);
  animation: np-rise 0.8s ease 0.45s forwards;
}

.np-hero .np-brand {
  opacity: 0;
  transform: translateY(12px);
  animation: np-rise 0.7s ease forwards;
}

@keyframes np-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes np-ken {
  from {
    transform: scale(1.08) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.16) translate3d(-1.5%, -1%, 0);
  }
}

@keyframes np-scroll-pulse {
  0%,
  100% {
    transform: scaleY(0.55);
    opacity: 0.45;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

.np-hero__scroll {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  display: grid;
  place-items: start center;
  padding-top: 8px;
  opacity: 0;
  animation: np-rise 0.7s ease 0.7s forwards;
}

.np-hero__scroll-line {
  display: block;
  width: 2px;
  height: 12px;
  border-radius: 2px;
  background: #fff;
  transform-origin: top center;
  animation: np-scroll-pulse 1.6s ease-in-out infinite;
}

/* ——— Scroll reveal ——— */
.np-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.np-reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

.np-reveal--delay-1.is-in {
  transition-delay: 0.08s;
}
.np-reveal--delay-2.is-in {
  transition-delay: 0.16s;
}
.np-reveal--delay-3.is-in {
  transition-delay: 0.24s;
}
.np-reveal--delay-4.is-in {
  transition-delay: 0.32s;
}

.np-reveal--stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.np-reveal--stagger.is-in > *:nth-child(1) {
  transition-delay: 0.04s;
}
.np-reveal--stagger.is-in > *:nth-child(2) {
  transition-delay: 0.12s;
}
.np-reveal--stagger.is-in > *:nth-child(3) {
  transition-delay: 0.2s;
}
.np-reveal--stagger.is-in > *:nth-child(4) {
  transition-delay: 0.28s;
}
.np-reveal--stagger.is-in > *:nth-child(5) {
  transition-delay: 0.36s;
}
.np-reveal--stagger.is-in > *:nth-child(6) {
  transition-delay: 0.44s;
}
.np-reveal--stagger.is-in > *:nth-child(7) {
  transition-delay: 0.52s;
}
.np-reveal--stagger.is-in > *:nth-child(8) {
  transition-delay: 0.6s;
}

.np-reveal--stagger.is-in > * {
  opacity: 1;
  transform: translateY(0);
}

/* ——— Sections ——— */
.np-section {
  padding: var(--np-section-y) 0;
}

.np-section--tight {
  padding: clamp(2.5rem, 6vw, 3.5rem) 0;
}

.np-section--alt {
  background: rgba(255, 255, 255, 0.65);
  border-block: 1px solid var(--np-line);
}

.np-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--np-accent);
  margin: 0 0 0.75rem;
}

.np-eyebrow::before {
  content: "";
  width: 1.4rem;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

.np-reveal.is-in .np-eyebrow::before,
.np-hero .np-eyebrow::before {
  transform: scaleX(1);
}

.np-h2 {
  font-family: var(--np-font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 0.75rem;
}

.np-lede {
  margin: 0;
  color: var(--np-ink-soft);
  font-size: 1.125rem;
  max-width: 40rem;
}

.np-section__head {
  margin-bottom: clamp(2rem, 5vw, 3rem);
  max-width: 40rem;
}

/* ——— Partner strip ——— */
.np-partner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.np-partner__title {
  font-family: var(--np-font-display);
  font-weight: 700;
  font-size: 1.35rem;
  margin: 0;
}

.np-partner__text {
  margin: 0;
  color: var(--np-muted);
  max-width: 36rem;
}

/* ——— Apps grid ——— */
.np-apps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .np-apps {
    grid-template-columns: 1fr;
  }
}

.np-app {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--np-radius);
  background: var(--np-white);
  border: 1px solid var(--np-line);
  text-decoration: none !important;
  transition: transform 0.25s ease, border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.np-app:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 8, 60, 0.35);
  box-shadow: 0 18px 40px rgba(18, 20, 23, 0.08);
  color: inherit;
}

.np-app__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  background: var(--np-surface-2);
}

.np-app__icon--ph {
  display: grid;
  place-items: center;
  font-family: var(--np-font-display);
  font-weight: 700;
  color: var(--np-accent);
  font-size: 1.1rem;
}

.np-app__name {
  font-family: var(--np-font-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0;
}

.np-app__desc {
  margin: 0;
  color: var(--np-ink-soft);
  flex: 1;
}

.np-app__meta {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--np-accent);
  transition: transform 0.25s ease;
}

.np-app:hover .np-app__meta {
  transform: translateX(4px);
}

.np-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

@media (max-width: 700px) {
  .np-stats {
    grid-template-columns: 1fr;
  }
}

.np-stat {
  padding: 1.25rem 1.35rem;
  border-radius: var(--np-radius);
  background: var(--np-ink);
  color: var(--np-white);
}

.np-stat__value {
  font-family: var(--np-font-display);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.25rem;
}

.np-stat__label {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

/* ——— Services ——— */
.np-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 1.75rem;
}

@media (max-width: 900px) {
  .np-services {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .np-services {
    grid-template-columns: 1fr;
  }
}

.np-service h3 {
  font-family: var(--np-font-display);
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}

.np-service p {
  margin: 0;
  color: var(--np-ink-soft);
}

.np-service__num {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--np-accent);
  margin-bottom: 0.5rem;
}

/* ——— Case studies ——— */
.np-cases {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 800px) {
  .np-cases {
    grid-template-columns: 1fr;
  }
}

.np-case {
  position: relative;
  display: block;
  border-radius: calc(var(--np-radius) + 4px);
  overflow: hidden;
  min-height: 280px;
  text-decoration: none !important;
  color: var(--np-white) !important;
  isolation: isolate;
}

.np-case--tall {
  min-height: 100%;
  grid-row: span 2;
}

@media (max-width: 800px) {
  .np-case--tall {
    grid-row: auto;
    min-height: 280px;
  }
}

.np-case__media {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #2c3138, #6b1a2e);
  transition: transform 0.45s ease;
}

.np-case__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.np-case:hover .np-case__media {
  transform: scale(1.04);
}

.np-case__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(18, 20, 23, 0.88) 0%,
    rgba(18, 20, 23, 0.15) 65%
  );
}

.np-case__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem;
}

.np-case__title {
  font-family: var(--np-font-display);
  font-size: 1.4rem;
  margin: 0 0 0.35rem;
}

.np-case__outcome {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.98rem;
}

/* ——— Testimonials ——— */
.np-quotes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (max-width: 800px) {
  .np-quotes {
    grid-template-columns: 1fr;
  }
}

.np-quote {
  padding: 1.5rem;
  border-radius: var(--np-radius);
  background: var(--np-white);
  border: 1px solid var(--np-line);
}

.np-quote p {
  margin: 0 0 1.25rem;
  color: var(--np-ink-soft);
}

.np-quote__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.np-quote__author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.np-quote__author strong {
  display: block;
  font-size: 0.98rem;
}

.np-quote__author span {
  color: var(--np-muted);
  font-size: 0.9rem;
}

/* ——— Contact CTA ——— */
.np-contact {
  text-align: center;
  padding: clamp(4rem, 10vw, 6rem) var(--np-pad);
  border-radius: calc(var(--np-radius) + 8px);
  background:
    radial-gradient(700px 280px at 50% 0%, rgba(217, 8, 60, 0.18), transparent 60%),
    var(--np-ink);
  color: var(--np-white);
}

.np-contact .np-h2 {
  color: var(--np-white);
  max-width: 18ch;
  margin-inline: auto;
}

.np-contact .np-lede {
  color: rgba(255, 255, 255, 0.78);
  margin: 0.75rem auto 1.75rem;
}

.np-contact__email {
  display: inline-block;
  font-family: var(--np-font-display);
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 700;
  color: var(--np-white) !important;
  text-decoration: none !important;
  transition: transform 0.25s ease, color 0.25s ease;
}

.np-contact__email:hover {
  color: #ffb3c4 !important;
  transform: translateY(-2px);
}

/* ——— Footer ——— */
.np-footer {
  margin-top: auto;
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--np-line);
  background: rgba(255, 255, 255, 0.55);
}

.np-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 720px) {
  .np-footer__grid {
    grid-template-columns: 1fr;
  }
}

.np-footer h4 {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--np-muted);
}

.np-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.np-footer a {
  text-decoration: none;
  color: var(--np-ink-soft);
  font-weight: 600;
}

.np-footer__copy {
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--np-line);
  color: var(--np-muted);
  font-size: 0.92rem;
}

/* ——— Page headers (inner) ——— */
.np-page-hero {
  padding: clamp(3rem, 8vw, 4.5rem) 0 clamp(2rem, 5vw, 3rem);
}

.np-page-hero .np-h2 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

/* ——— FAQ accordion ——— */
.np-faq {
  display: grid;
  gap: 0.65rem;
  max-width: 48rem;
}

.np-faq details {
  border: 1px solid var(--np-line);
  border-radius: var(--np-radius);
  background: var(--np-white);
  padding: 0.25rem 1.1rem;
}

.np-faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--np-font-display);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 1rem 1.75rem 1rem 0;
  position: relative;
}

.np-faq summary::-webkit-details-marker {
  display: none;
}

.np-faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  color: var(--np-accent);
  transition: transform 0.25s ease;
}

.np-faq details[open] summary {
  color: var(--np-accent);
}

.np-faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.np-faq details p,
.np-faq details ul {
  margin: 0 0 1.1rem;
  color: var(--np-ink-soft);
}

.np-faq details ul {
  padding-left: 1.2rem;
}

.np-faq__body {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition:
    max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.3s ease;
}

.np-faq details[open] .np-faq__body {
  max-height: 40rem;
  opacity: 1;
}

/* ——— Developer docs ——— */
.np-docs {
  display: grid;
  gap: 1rem;
  max-width: 48rem;
}

.np-doc {
  padding: 1.35rem 1.4rem;
  border-radius: var(--np-radius);
  background: var(--np-white);
  border: 1px solid var(--np-line);
}

.np-doc__num {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--np-accent);
  margin-bottom: 0.4rem;
}

.np-doc__title {
  font-family: var(--np-font-display);
  font-size: 1.25rem;
  margin: 0 0 0.65rem;
  letter-spacing: -0.02em;
}

.np-doc__body p,
.np-doc__body li {
  color: var(--np-ink-soft);
}

.np-doc__body p {
  margin: 0 0 0.75rem;
}

.np-doc__body p:last-child,
.np-doc__body ul:last-child {
  margin-bottom: 0;
}

.np-doc__body ul {
  margin: 0 0 0.75rem;
  padding-left: 1.2rem;
}

.np-code {
  margin: 0 0 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: var(--np-ink);
  color: #f3f4f6;
  overflow-x: auto;
  font-size: 0.9rem;
  line-height: 1.45;
}

.np-code code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  white-space: pre;
}

/* ——— Affiliate ——— */
.np-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 800px) {
  .np-benefit-grid {
    grid-template-columns: 1fr;
  }
}

.np-benefit {
  padding: 1.5rem;
  border-radius: var(--np-radius);
  background: var(--np-white);
  border: 1px solid var(--np-line);
}

.np-benefit h3 {
  font-family: var(--np-font-display);
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.np-benefit p {
  margin: 0;
  color: var(--np-ink-soft);
}

.np-panel-dark {
  margin-top: 2rem;
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: calc(var(--np-radius) + 4px);
  background: var(--np-ink);
  color: var(--np-white);
  text-align: center;
}

.np-panel-dark p {
  color: rgba(255, 255, 255, 0.75);
}

/* ——— Policies ——— */
.np-policy-index {
  display: grid;
  gap: 0.75rem;
  max-width: 40rem;
}

.np-policy-index a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--np-radius);
  background: var(--np-white);
  border: 1px solid var(--np-line);
  text-decoration: none !important;
  font-weight: 700;
  font-family: var(--np-font-display);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.np-policy-index a:hover {
  border-color: rgba(217, 8, 60, 0.4);
  transform: translateX(3px);
  color: var(--np-accent);
}

.np-policy-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  align-items: start;
  padding-bottom: var(--np-section-y);
}

@media (max-width: 860px) {
  .np-policy-layout {
    grid-template-columns: 1fr;
  }
}

.np-policy-toc {
  position: sticky;
  top: 5.5rem;
  display: grid;
  gap: 0.45rem;
}

.np-policy-toc a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--np-muted);
}

.np-policy-toc a:hover,
.np-policy-toc a[aria-current="page"] {
  color: var(--np-accent);
}

.np-policy-body h1 {
  font-family: var(--np-font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}

.np-policy-body .np-policy-updated {
  color: var(--np-muted);
  margin: 0 0 2rem;
}

.np-policy-body h2,
.np-policy-body h3,
.np-policy-body h4 {
  font-family: var(--np-font-display);
  margin: 2rem 0 0.65rem;
  letter-spacing: -0.02em;
}

.np-policy-body h2 {
  font-size: 1.45rem;
}
.np-policy-body h3 {
  font-size: 1.2rem;
}
.np-policy-body h4 {
  font-size: 1.05rem;
}

.np-policy-body p,
.np-policy-body li {
  color: var(--np-ink-soft);
}

.np-policy-body ul {
  padding-left: 1.2rem;
}

.np-policy-body a {
  color: var(--np-accent);
  font-weight: 600;
}

/* ——— Reduced motion ——— */
@media (prefers-reduced-motion: reduce) {
  .np *,
  .np *::before,
  .np *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .np-reveal,
  .np-reveal--stagger > *,
  .np-hero__headline,
  .np-hero__lede,
  .np-hero .np-cta-row,
  .np-hero .np-brand,
  .np-hero__scroll {
    opacity: 1 !important;
    transform: none !important;
  }

  .np-hero__media--ken img,
  .np-hero__media--ken video {
    transform: none !important;
    animation: none !important;
  }

  .np-eyebrow::before {
    transform: scaleX(1) !important;
  }
}
