.northpass-hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
  gap: clamp(1.6rem, 4.5vw, 4.5rem);
  align-items: center;
  padding-bottom: clamp(1.5rem, 3.5vw, 2.9rem);
}
.northpass-hero h1 {
  font-size: clamp(2.7rem, 5.2vw, 4.85rem);
}
.theme-library .northpass-hero .northpass-promise {
  color: #173650;
  max-width: 22ch;
  font-size: clamp(1.55rem, 3.1vw, 2.7rem);
  font-weight: 690;
  letter-spacing: -.035em;
  line-height: 1.15;
  text-wrap: balance;
}
.theme-library .northpass-hero :is(.northpass-intro, .northpass-presets-note) {
  max-width: 48ch;
  color: #36546b;
}
.theme-library .northpass-hero .northpass-presets-note {
  font-size: .92rem;
}
.northpass-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem .8rem;
  margin-top: 1.05rem;
}
.theme-library .northpass-hero-actions .theme-library-primary {
  padding-inline: 1.15rem;
}
.northpass-nav {
  margin-top: 0;
}
.northpass-kit-example {
  background: #132a40;
  border: 1px solid #163651;
  border-radius: clamp(1rem, 2.25vw, 1.6rem);
  padding: clamp(.8rem, 2.1vw, 1.55rem);
  width: min(100%, 36rem);
  justify-self: end;
}
.theme-library .northpass-hero .northpass-example-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .15rem .75rem;
  margin: 0 0 .7rem;
  max-width: none;
  line-height: 1.4;
  color: #fff;
}
.northpass-example-title span {
  font-size: .84rem;
  color: #dcebf7;
}
.northpass-kit-shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.55rem, 1.5vw, .85rem);
  align-items: end;
}
.northpass-kit-shots figure {
  margin: 0;
  min-width: 0;
}
.northpass-kit-shots img {
  height: auto;
  width: 100%;
  display: block;
  border-radius: .7rem;
  border: 1px solid #a9bece;
}
.northpass-kit-shots figcaption {
  color: #e4eff8;
  font-size: .83rem;
  line-height: 1.35;
  margin-top: .45rem;
}
@media (max-width: 430px) {
  .northpass-kit-shots {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    max-width: 21rem;
    margin-inline: auto;
  }
  .northpass-kit-shots figcaption {
    font-size: .9375rem;
  }
}
.northpass-overview h2,
.northpass-preview > h3 {
  color: #132a40;
  font-size: clamp(1.65rem, 3vw, 2.65rem);
  letter-spacing: -.045em;
  line-height: 1.12;
  margin: 0;
}
.northpass-steps {
  margin: 1.2rem 0 0;
  padding-inline-start: 1.5rem;
}
.northpass-steps li {
  padding: .8rem 0 .4rem .3rem;
  border-top: 1px solid #bdccd9;
}
.northpass-steps li::marker {
  color: #194d75;
  font-weight: 750;
}
.northpass-overview :is(.northpass-steps h3, .northpass-merchant-note h3, .northpass-preview-panel h4) {
  color: #173650;
  font-size: clamp(1.06rem, 1.6vw, 1.26rem);
  line-height: 1.28;
  margin: 0 0 .35rem;
  letter-spacing: -.015em;
}
.theme-library .northpass-overview :is(.northpass-steps p, .northpass-merchant-note p, .northpass-preview-panel p) {
  color: #36546b;
  margin: 0;
  line-height: 1.55;
}
.northpass-steps .theme-library-link {
  margin-inline-end: .75rem;
}
.northpass-merchant-note {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem 1.8rem;
  background: #e0ebf4;
  border: 1px solid #b9c9d8;
  border-radius: 1rem;
  margin-top: 1.35rem;
  padding: clamp(.85rem, 2.25vw, 1.35rem);
}
@media (max-width: 820px) {
  .northpass-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }
  .northpass-kit-example {
    justify-self: start;
    max-width: 31rem;
  }
}
@media (max-width: 560px) {
  .northpass-merchant-note {
    grid-template-columns: minmax(0, 1fr);
  }
}
.northpass-preview {
  margin-top: clamp(1.65rem, 4vw, 3.1rem);
  border-top: 1px solid #bdccd9;
  padding-top: clamp(1rem, 2.5vw, 1.7rem);
}
.northpass-preview-choices {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: .95rem 0 1.2rem;
}
.theme-library .northpass-preview-choices a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid #7896ad;
  border-radius: 999px;
  padding: .42rem .82rem;
  color: #164e79;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}
.theme-library .northpass-preview-choices a:hover {
  background: #e2edf7;
}
.theme-library .northpass-preview-choices a[aria-current] {
  background: #173c5e;
  border-color: #173c5e;
  color: #fff;
}
.northpass-preview-panel + .northpass-preview-panel {
  margin-top: 1.25rem;
}
.theme-library-ready .northpass-preview-panel {
  margin-top: 0;
}
.theme-library .northpass-preview-note {
  color: #36546b;
  margin: .75rem 0 0;
  font-size: .875rem;
}
.theme-library :is(#presets,.northpass-preview-panel) {
  scroll-margin-top: 1rem;
}
@media (max-width: 730px) {
  .theme-library .northpass-nav {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
  }
  .theme-library .northpass-nav a {
    padding-inline: .6rem;
    font-size: .92rem;
  }
  .northpass-preview-panel .theme-library-shot {
    width: min(100%, 23.4rem);
    margin-inline: auto;
  }
  .northpass-hero-actions {
    column-gap: .55rem;
  }
  .theme-library .northpass-hero-actions .theme-library-primary {
    padding-inline: 1rem;
  }
  .theme-library-ready .theme-library-layout:has(#documentation[hidden]) .theme-library-sidebar {
    display: none;
  }
}

/* Keep the image position stable while a different preset is shown. */
.northpass-preview-panel > p {
  max-width: 64ch;
  min-block-size: 2lh;
}
.northpass-preview-panel .theme-library-shot img {
  aspect-ratio: 1250 / 640;
}
.theme-library .merchant-guide [data-guide-target] {
  scroll-margin-block-start: 1rem;
}
@media (max-width: 730px) {
  .northpass-preview-panel > p {
    min-block-size: 3lh;
  }
  .northpass-preview-panel .theme-library-shot img {
    aspect-ratio: 375 / 760;
  }
}
@media (max-width: 365px) {
  .northpass-preview-panel > p {
    min-block-size: 4lh;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .theme-library :is(.northpass-hero-actions, .northpass-nav, .northpass-preview-choices) a {
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
  }
}

.theme-library-ready .theme-library #documentation { display: none; }
