/* NORTIA TEAM – Jak to funguje: compact marketing page.
   One palette: navy (hero, tiers), white / grey content bands, royal blue only for CTAs, accents and icons,
   one light-blue tint. Tokens: nortia-shell.css */

.nh-how {
  --how-navy: #0d2036;
  --how-alt: #f5f7fa;
  --how-royal: #1f63d1;
  --how-tint: #edf3fb;
  --how-line: #dce2ea;
  --how-on-navy: #b6c4d8;
  --how-max: 1200px;
  margin: 0;
  color: var(--nt-text);
  font-family: var(--nt-font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.nh-how * {
  box-sizing: border-box;
}

/* zero specificity resets, so component rules below set their own spacing */
:where(.nh-how) :is(h1, h2, h3, p, ul, ol, dl, dd, figure) {
  margin: 0;
}

:where(.nh-how) :is(ul, ol) {
  padding: 0;
  list-style: none;
}

.nh-how :is(h1, h2, h3) {
  color: var(--nt-ink);
  font-family: var(--nt-font);
  font-weight: 800;
  letter-spacing: -.02em;
  text-transform: none;
}

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

.nh-how-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- layout ---------- */

/* the closing band runs straight into the footer */
#module-nortiahome-howitworks #wrapper {
  padding-bottom: 0;
}

/* sections run edge to edge, outside the theme container */
.nh-how-band,
.nh-how-bleed {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.nh-how-band {
  padding: 56px 0;
}

.nh-how-band--white {
  background: #fff;
}

.nh-how-band--alt {
  background: var(--how-alt);
}

.nh-how-band--navy {
  background: var(--how-navy);
  color: var(--how-on-navy);
}

.nh-how-band--navy h2 {
  color: #fff;
}

.nh-how-wrap {
  position: relative;
  width: 100%;
  max-width: calc(var(--how-max) + 2 * var(--nt-gutter));
  margin: 0 auto;
  padding: 0 var(--nt-gutter);
}

/* ---------- shared components ---------- */

.nh-how-title {
  font-size: 30px;
  line-height: 1.15;
}

.nh-how-title--gap {
  margin-bottom: 28px;
}

.nh-how-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #8fb4ec;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.nh-how-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

/* one card style for every block on the page */
.nh-how-card-box,
.nh-how-feat,
.nh-how-points__item,
.nh-how-rail a {
  border: 1px solid var(--how-line);
  border-radius: 4px;
  background: #fff;
}

.nh-how-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background: var(--how-tint);
}

.nh-how-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--how-royal);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.nh-how-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nh-how-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s, border-color .2s, color .2s;
}

.nh-how-btn:hover,
.nh-how-btn:focus {
  text-decoration: none;
}

.nh-how-btn--blue {
  background: var(--how-royal);
  color: #fff;
}

.nh-how-btn--blue:hover {
  background: var(--nt-blue-600);
  color: #fff;
}

.nh-how-btn--light {
  background: #fff;
  color: var(--how-navy);
}

.nh-how-btn--light:hover {
  background: var(--how-tint);
  color: var(--how-navy);
}

.nh-how-btn--line {
  border-color: rgba(255, 255, 255, .5);
  color: #fff;
}

.nh-how-btn--line:hover {
  border-color: #fff;
  color: #fff;
}

/* on navy the main action is royal, on the royal CTA band it is white */
.nh-how-hero .nh-how-btn--light {
  background: var(--how-royal);
  color: #fff;
}

.nh-how-hero .nh-how-btn--light:hover {
  background: var(--nt-blue-600);
  color: #fff;
}

.nh-how-cta .nh-how-btn--light {
  color: var(--how-royal);
}

/* ---------- hero ---------- */

.nh-how-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 400px;
  background: var(--how-navy);
  color: var(--how-on-navy);
}

.nh-how-hero__copy {
  align-self: center;
  padding: 48px 40px 48px max(var(--nt-gutter), calc((100vw - var(--how-max)) / 2));
}

.nh-how-hero h1 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -.03em;
}

.nh-how-hero__lead {
  max-width: 460px;
  margin-bottom: 24px;
  font-size: 17px;
}

.nh-how-hero__media {
  position: relative;
  overflow: hidden;
}

.nh-how-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 28%;
}

.nh-how-status {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 1;
  width: 250px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 4px;
  background: rgba(13, 32, 54, .82);
  color: var(--how-on-navy);
}

.nh-how-status__label {
  color: #8fb4ec;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.nh-how-status__level {
  margin: 2px 0 10px;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
}

.nh-how-status dl {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
}

.nh-how-status dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}

.nh-how-status dd {
  color: #fff;
  font-weight: 700;
}

.nh-how-status__bar {
  height: 4px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(255, 255, 255, .18);
}

.nh-how-status__bar span {
  display: block;
  min-width: 4px;
  height: 100%;
  background: var(--how-royal);
}

/* key numbers: the bottom of the navy hero */
.nh-how-stats {
  border-top: 1px solid rgba(255, 255, 255, .12);
  background: var(--how-navy);
  color: var(--how-on-navy);
}

.nh-how-stats__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.nh-how-stats__row div {
  padding: 20px 0 20px 24px;
}

.nh-how-stats__row div:first-child {
  padding-left: var(--nt-gutter);
}

.nh-how-stats__row div + div {
  border-left: 1px solid rgba(255, 255, 255, .12);
}

.nh-how-stats dt {
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
}

.nh-how-stats dd {
  margin-top: 2px;
  font-size: 14px;
}

/* ---------- four feature blocks ---------- */

.nh-how-bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.nh-how-feat {
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.nh-how-feat__tag {
  margin-bottom: 10px;
  color: var(--how-royal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.nh-how-feat__big {
  margin-bottom: 16px;
  color: var(--nt-ink);
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
}

.nh-how-feat__big span {
  display: block;
  margin-top: 6px;
  color: var(--nt-muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}

.nh-how-feat__line {
  margin-top: auto;
  padding-top: 14px;
  color: var(--nt-muted);
  font-size: 14px;
}

.nh-how-feat__link {
  margin-top: 12px;
  color: var(--how-royal);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.nh-how-feat__link::after {
  content: " →";
}

.nh-how-feat__link:hover {
  color: var(--how-navy);
  text-decoration: none;
}

/* ways to earn points */
.nh-how-earn li {
  display: grid;
  gap: 1px;
  padding: 9px 0;
  border-top: 1px solid var(--how-line);
  color: var(--nt-ink);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
}

.nh-how-earn em {
  color: var(--nt-muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
}

/* discount per level */
.nh-how-chips li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  padding: 9px 0;
  border-top: 1px solid var(--how-line);
}

.nh-how-chip b {
  color: var(--nt-ink);
  font-size: 13px;
  letter-spacing: .12em;
}

/* a small swatch in the colour of the membership card */
.nh-how-chip b::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  border-radius: 2px;
  background: var(--chip, #1f5fd6);
}

.nh-how-chip--silver {
  --chip: #b9c3cf;
}

.nh-how-chip--gold {
  --chip: #d6b46a;
}

.nh-how-chip strong {
  grid-row: span 2;
  color: var(--how-royal);
  font-size: 20px;
  font-weight: 800;
}

.nh-how-chip small {
  color: var(--nt-muted);
  font-size: 12.5px;
}

/* free services */
.nh-how-services {
  display: grid;
  gap: 14px;
}

.nh-how-services li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  column-gap: 12px;
  align-items: center;
}

.nh-how-services .nh-how-icon {
  grid-row: span 2;
}

.nh-how-services b {
  color: var(--nt-ink);
  font-size: 15px;
  line-height: 1.3;
}

.nh-how-services small {
  color: var(--nt-muted);
  font-size: 13px;
}

.nh-how-feat .nh-how-services + .nh-how-feat__link {
  margin-top: auto;
  padding-top: 14px;
}

/* Akademie: a flat video frame drawn in CSS */
.nh-how-player {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  border-radius: 4px;
  background: var(--how-navy);
}

.nh-how-player::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 10px;
  left: 12px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--how-royal) 0 38%, rgba(255, 255, 255, .22) 38%);
}

.nh-how-player span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
}

.nh-how-player span::before {
  content: "";
  margin-left: 4px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid var(--how-royal);
}

/* ---------- body and qualified points ---------- */

.nh-how-points {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 4fr);
  gap: 16px;
  align-items: stretch;
}

.nh-how-points .nh-how-title {
  align-self: center;
}

.nh-how-points__item {
  padding: 22px;
}

.nh-how-points__label {
  display: grid;
  justify-items: start;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--how-royal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.nh-how-points__label::after {
  width: 28px;
  height: 3px;
  background: var(--how-royal);
  content: "";
}

.nh-how-points__item--strong .nh-how-points__label {
  color: var(--how-navy);
}

.nh-how-points__item--strong .nh-how-points__label::after {
  background: var(--how-navy);
}

.nh-how-points h3 {
  margin-bottom: 6px;
  font-size: 20px;
  line-height: 1.25;
}

.nh-how-points p:last-child {
  color: var(--nt-muted);
  font-size: 15px;
}

/* ---------- partner invoices: explained steps and a realistic phone drawn in CSS ---------- */

.nh-how-partner-band {
  padding-block: 88px;
}

.nh-how-partner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 72px;
  align-items: center;
}

.nh-how-eyebrow {
  display: grid;
  justify-items: start;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--how-royal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.nh-how-eyebrow::after {
  width: 28px;
  height: 3px;
  background: var(--how-royal);
  content: "";
}

.nh-how-partner .nh-how-title {
  margin-bottom: 12px;
}

.nh-how-partner__lead {
  max-width: 600px;
  margin-bottom: 28px;
  color: var(--nt-muted);
  font-size: 16.5px;
  line-height: 1.6;
}

.nh-how-flow {
  display: grid;
  gap: 0;
  max-width: 620px;
  margin-bottom: 22px;
  border-top: 1px solid var(--how-line);
}

.nh-how-flow li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--how-line);
}

.nh-how-flow b {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--how-navy);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.nh-how-flow span {
  display: grid;
  gap: 4px;
  color: var(--nt-muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.nh-how-flow strong {
  color: var(--nt-ink);
  font-size: 17px;
  font-weight: 700;
}

.nh-how-tip {
  max-width: 620px;
  margin-bottom: 26px;
  padding: 12px 16px;
  background: var(--how-tint);
  color: var(--nt-ink);
  font-size: 14.5px;
}

.nh-how-tip b {
  color: var(--how-royal);
}

/* phone: 9 : 19.5 device, dynamic island, status bar, the real upload screen */
.nh-how-device {
  justify-self: center;
  width: 100%;
  max-width: 340px;
}

.nh-how-device__frame {
  position: relative;
  aspect-ratio: 9 / 19.5;
  padding: 11px;
  border-radius: 52px;
  background: linear-gradient(145deg, #2a3442, #0b111a 60%, #1c2430);
  box-shadow: 0 0 0 1.5px #3b4756, 0 40px 70px -30px rgba(13, 32, 54, .55), 0 18px 30px -18px rgba(13, 32, 54, .4);
}

.nh-how-device__screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 42px;
  background: #fff;
}

.nh-how-device__status {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  height: 46px;
  padding: 0 26px 0 30px;
  color: #0b111a;
  font-size: 13px;
  font-weight: 700;
}

.nh-how-device__island {
  width: 92px;
  height: 26px;
  border-radius: 14px;
  background: #0b111a;
}

.nh-how-device__sys {
  display: flex;
  align-items: flex-end;
  gap: 2px;
}

.nh-how-device__sys i {
  width: 3px;
  background: #0b111a;
}

.nh-how-device__sys i:nth-child(1) { height: 5px; }
.nh-how-device__sys i:nth-child(2) { height: 8px; }
.nh-how-device__sys i:nth-child(3) { width: 18px; height: 9px; margin-left: 4px; border: 1.5px solid #0b111a; border-radius: 3px; background: linear-gradient(90deg, #0b111a 70%, transparent 70%); }

.nh-how-device__app {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  padding: 6px 18px 0;
}

.nh-how-device__brand {
  color: var(--how-navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

.nh-how-device__brand span {
  color: var(--how-royal);
  font-style: italic;
  letter-spacing: 0;
}

.nh-how-device__title {
  color: var(--nt-ink);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.nh-how-device__drop {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 14px 10px;
  border: 1.5px dashed #b9c7da;
  border-radius: 10px;
  background: var(--how-tint);
  text-align: center;
}

.nh-how-device__drop b {
  color: var(--nt-ink);
  font-size: 13px;
}

.nh-how-device__drop small {
  color: var(--nt-muted);
  font-size: 11px;
}

.nh-how-device__cam {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--how-royal);
}

.nh-how-device__cam svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: #fff;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.nh-how-device__pages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.nh-how-device__pages li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 4px;
}

.nh-how-device__pages small {
  color: var(--nt-muted);
  font-size: 10.5px;
}

.nh-how-device__thumb {
  display: grid;
  align-content: start;
  gap: 4px;
  width: 100%;
  aspect-ratio: 3 / 4;
  padding: 9px 7px;
  border: 1px solid var(--how-line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(13, 32, 54, .08);
}

.nh-how-device__thumb i {
  height: 3px;
  border-radius: 2px;
  background: #d5dde8;
}

.nh-how-device__thumb i:first-child {
  width: 60%;
  height: 5px;
  background: #9fb0c6;
}

.nh-how-device__pages em {
  position: absolute;
  top: -5px;
  right: -4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #1e9e5a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat;
  box-shadow: 0 0 0 2px #fff;
}

.nh-how-device__field {
  display: grid;
  gap: 1px;
  padding: 7px 10px;
  border: 1px solid var(--how-line);
  border-radius: 8px;
}

.nh-how-device__field small {
  color: var(--nt-muted);
  font-size: 10px;
}

.nh-how-device__field span {
  color: var(--nt-ink);
  font-size: 12.5px;
  font-weight: 600;
}

.nh-how-device__btn {
  display: grid;
  place-items: center;
  height: 40px;
  margin-top: auto;
  border-radius: 10px;
  background: var(--how-royal);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
}

.nh-how-device__note {
  padding-bottom: 22px;
  color: var(--nt-muted);
  font-size: 10.5px;
  text-align: center;
}

.nh-how-device__home {
  position: absolute;
  bottom: 7px;
  left: 50%;
  width: 34%;
  height: 4px;
  border-radius: 3px;
  background: #0b111a;
  transform: translateX(-50%);
}

/* ---------- levels: card above its own benefit list ---------- */

.nh-how-head {
  margin-bottom: 28px;
}

.nh-how-head .nh-how-title {
  margin-bottom: 6px;
}

.nh-how-band--navy .nh-how-head p {
  color: var(--how-on-navy);
}

.nh-how-tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.nh-how-tier {
  padding: 18px 18px 20px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 4px;
}

.nh-how-tier.is-current {
  border-color: var(--how-royal);
}

/* flat membership card, same look as the card on Moje body */
.nh-how-card {
  --card-bg: #1f5fd6;
  --card-ink: #fff;
  --card-muted: rgba(255, 255, 255, .72);
  position: relative;
  display: grid;
  grid-template-areas:
    "logo level"
    ". ."
    "name name"
    "label label";
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr auto auto;
  aspect-ratio: 1.586;
  max-width: 300px;
  margin-bottom: 16px;
  padding: 16px 18px;
  overflow: hidden;
  border-radius: 12px;
  background:
    repeating-linear-gradient(135deg, transparent 0 22px, rgba(255, 255, 255, .045) 22px 23px),
    var(--card-bg);
  color: var(--card-ink);
}

.nh-how-card--silver {
  --card-bg: #cfd6df;
  --card-ink: #1d2733;
  --card-muted: rgba(29, 39, 51, .62);
}

.nh-how-card--gold {
  --card-bg: #d1ad60;
  --card-ink: #2f2309;
  --card-muted: rgba(47, 35, 9, .62);
}

.nh-how-card__logo {
  grid-area: logo;
  width: 92px;
  height: auto;
  /* the shop logo is black on white: inverted and screened it becomes a white mark */
  filter: grayscale(1) invert(1) contrast(1.4);
  mix-blend-mode: screen;
}

/* light cards keep the black mark and multiply its white ground away */
.nh-how-card--silver .nh-how-card__logo,
.nh-how-card--gold .nh-how-card__logo {
  filter: grayscale(1) contrast(1.4);
  mix-blend-mode: multiply;
  opacity: .9;
}

.nh-how-card__level {
  grid-area: level;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
}

.nh-how-card__name {
  grid-area: name;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
}

.nh-how-card__label {
  grid-area: label;
  color: var(--card-muted);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.nh-how-tier__value {
  color: #fff;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
}

.nh-how-tier__what {
  margin: 6px 0 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  font-size: 14px;
}

.nh-how-tier__list {
  display: grid;
  gap: 11px;
}

.nh-how-tier__list li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  color: #e3ebf6;
  font-size: 14px;
  line-height: 1.35;
}

.nh-how-tier__list svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #6fa3f0;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.nh-how-tier__list li.is-off {
  color: #6c7f99;
}

.nh-how-tier__list li.is-off svg {
  stroke: #45597a;
}

/* ---------- rewards rail ---------- */

.nh-how-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.nh-how-rail {
  display: grid;
  grid-auto-columns: calc((100% - 4 * 14px) / 5);
  grid-auto-flow: column;
  gap: 14px;
  padding-bottom: 6px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.nh-how-rail::-webkit-scrollbar {
  display: none;
}

/* arrows like the homepage rails */
.nh-how-railbox {
  position: relative;
}

.nh-how-arrow {
  position: absolute;
  top: 38%;
  z-index: 2;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--how-line);
  border-radius: 50%;
  background: #fff center / 18px no-repeat;
  box-shadow: 0 8px 22px rgba(13, 32, 54, .14);
  cursor: pointer;
  transition: border-color .15s, transform .15s;
}

.nh-how-arrow:hover {
  border-color: #bcd2f3;
}

.nh-how-arrow:active {
  transform: scale(.94);
}

.nh-how-arrow[hidden] {
  display: none;
}

.nh-how-arrow--prev {
  left: -22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f63d1' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 18l-6-6 6-6'/%3E%3C/svg%3E");
}

.nh-how-arrow--next {
  right: -22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f63d1' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E");
}

.nh-how-rail li {
  scroll-snap-align: start;
}

.nh-how-rail a {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 12px 12px 14px;
  color: var(--nt-ink);
  text-decoration: none;
  transition: border-color .2s;
}

.nh-how-rail a:hover {
  border-color: var(--how-royal);
}

.nh-how-rail__img {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  margin-bottom: 10px;
}

.nh-how-rail__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nh-how-rail__name {
  display: -webkit-box;
  margin-bottom: 4px;
  overflow: hidden;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.nh-how-rail b {
  margin-top: auto;
  color: var(--how-royal);
  font-size: 16px;
  font-weight: 800;
}

/* ---------- FAQ ---------- */

.nh-how-faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 40px;
  align-items: start;
}

.nh-how-faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
}

.nh-how-faq details {
  border-bottom: 1px solid var(--how-line);
}

.nh-how-faq summary {
  position: relative;
  padding: 14px 32px 14px 0;
  color: var(--nt-ink);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

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

.nh-how-faq summary::before,
.nh-how-faq summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 4px;
  width: 14px;
  height: 2px;
  background: var(--how-royal);
}

.nh-how-faq summary::after {
  transform: rotate(90deg);
  transition: transform .2s;
}

.nh-how-faq details[open] summary::after {
  transform: rotate(0deg);
}

.nh-how-faq summary:hover {
  color: var(--how-royal);
}

.nh-how-faq details p {
  padding: 0 32px 14px 0;
  color: var(--nt-muted);
  font-size: 15px;
}

/* ---------- closing call to action ---------- */

.nh-how-cta {
  background: var(--how-royal);
  color: #dbe7fb;
}

.nh-how-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 32px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
}

.nh-how-cta h2 {
  color: #fff;
  font-size: 30px;
  line-height: 1.15;
}

.nh-how-cta__contact {
  grid-column: 1;
  font-size: 14px;
}

.nh-how-cta .nh-how-actions {
  grid-row: 1 / span 2;
  grid-column: 2;
}

.nh-how-cta__contact a {
  color: #fff;
  font-weight: 600;
}

/* ---------- scroll reveal (only when how.js runs and motion is allowed) ---------- */

.nh-how.is-animated [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s var(--nt-ease), transform .5s var(--nt-ease);
}

.nh-how.is-animated [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

.nh-how-tier__list b {
  color: #fff;
  font-weight: 700;
}

/* ---------- who + how to join (guests) ---------- */

.nh-how-join {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 40px;
  align-items: center;
}

.nh-how-join__copy p {
  margin-top: 10px;
  color: var(--nt-muted);
}

.nh-how-join__steps {
  display: grid;
  gap: 10px;
}

.nh-how-join__steps li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid var(--how-line);
  background: #fff;
}

.nh-how-join__steps b {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--how-tint);
  color: var(--how-royal);
  font-weight: 800;
}

.nh-how-join__steps span {
  display: grid;
  gap: 2px;
  color: var(--nt-muted);
  font-size: 14px;
}

.nh-how-join__steps strong {
  color: var(--nt-ink);
  font-size: 15.5px;
}

/* ---------- level validity (navy band) ---------- */

.nh-how-valid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  margin-top: 24px;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, .12);
}

.nh-how-valid h3 {
  margin-bottom: 10px;
  color: #fff;
  font-size: 18px;
}

.nh-how-valid ul {
  display: grid;
  gap: 6px;
}

.nh-how-valid li {
  position: relative;
  padding-left: 16px;
  color: #e3ebf6;
  font-size: 14.5px;
}

.nh-how-valid li::before {
  position: absolute;
  top: .62em;
  left: 0;
  width: 6px;
  height: 6px;
  background: #6fa3f0;
  content: "";
}

.nh-how-valid__example {
  width: 100%;
  border-collapse: collapse;
  color: #e3ebf6;
  font-size: 14px;
}

.nh-how-valid__example caption {
  padding-bottom: 8px;
  color: var(--how-on-navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-align: left;
  text-transform: uppercase;
}

.nh-how-valid__example th,
.nh-how-valid__example td {
  padding: 8px 10px 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  text-align: left;
  vertical-align: top;
}

.nh-how-valid__example th {
  color: var(--how-on-navy);
  font-size: 12.5px;
  font-weight: 600;
}

.nh-how-valid__example b {
  color: #fff;
}

/* ---------- all benefits ---------- */

.nh-how-compare__tabs {
  display: none;
}

.nh-how-compare__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.nh-how-compare__table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 12px 14px;
  border-bottom: 2px solid var(--nt-ink);
  background: #fff;
  color: var(--nt-ink);
  font-size: 15px;
  font-weight: 800;
  text-align: left;
}

.nh-how-compare__table thead th small {
  display: block;
  color: var(--nt-muted);
  font-size: 12px;
  font-weight: 500;
}

.nh-how-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 7px;
  border-radius: 50%;
  vertical-align: 0;
}

.nh-how-dot--blue {
  background: #1f5fd6;
}

.nh-how-dot--silver {
  background: #b9c3cf;
}

.nh-how-dot--gold {
  background: #d1ad60;
}

.nh-how-compare__group th {
  padding: 22px 14px 8px;
  border-bottom: 1px solid var(--how-line);
  color: var(--how-royal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-align: left;
  text-transform: uppercase;
}

.nh-how-compare__table tbody th[scope="row"],
.nh-how-compare__table tbody td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--how-line);
  text-align: left;
  vertical-align: top;
}

.nh-how-compare__table tbody th[scope="row"] {
  width: 40%;
  color: var(--nt-ink);
  font-weight: 600;
}

/* the level columns (heading and values) are centred */
.nh-how-compare__table tbody td {
  width: 20%;
  color: var(--nt-text);
  text-align: center;
  vertical-align: middle;
}

.nh-how-compare__table thead th:not(:first-child) {
  text-align: center;
}

.nh-how-compare__table tbody td.c-gold {
  background: #fbf8f1;
}

.nh-how-yes {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--how-royal);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.6;
}

.nh-how-no {
  color: #a3adba;
}

.nh-how-head--dark p {
  color: var(--nt-muted);
}

/* ---------- firm and team ---------- */

.nh-how-team {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.nh-how-team__card {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 22px 24px;
  border: 1px solid var(--how-line);
  background: #fff;
  color: var(--nt-text);
}

.nh-how-team__card h3,
.nh-how-team__h {
  color: var(--nt-ink);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.25;
}

.nh-how-team__card p,
.nh-how-team__p {
  color: var(--nt-muted);
  font-size: 14.5px;
}

.nh-how-team__card--tee {
  grid-template-columns: 140px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  transition: border-color .15s;
}

.nh-how-team__card--tee:hover {
  border-color: var(--how-royal);
  color: var(--nt-text);
}

.nh-how-team__card--tee img {
  width: 140px;
  height: 140px;
  object-fit: contain;
}

.nh-how-team__body {
  display: grid;
  gap: 6px;
}

/* ---------- certification BRATEX: prestige band over a toned roof photo ---------- */

.nh-how-certband {
  --cert-gold: #c39a4e;
  position: relative;
  padding: 96px 0 88px;
  overflow: hidden;
  background:
    radial-gradient(60% 70% at 88% 8%, rgba(195, 154, 78, .22), rgba(195, 154, 78, 0) 60%),
    linear-gradient(100deg, rgba(8, 20, 36, .97) 0%, rgba(10, 26, 46, .93) 42%, rgba(14, 38, 70, .72) 100%),
    var(--cert-man) right top / auto 760px no-repeat,
    var(--cert-bg) center 40% / cover no-repeat,
    var(--how-navy);
  color: var(--how-on-navy);
}

.nh-how-certhead {
  max-width: 760px;
}

.nh-how-certhead__logo {
  display: block;
  width: 220px;
  height: auto;
  margin-bottom: 30px;
}

.nh-how-seal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--cert-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.nh-how-seal::before {
  width: 36px;
  height: 2px;
  background: var(--cert-gold);
  content: "";
}


.nh-how-certband .nh-how-certhead h2 {
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.06;
}

.nh-how-certhead__lead {
  color: #d3deec;
  font-size: 17.5px;
  line-height: 1.6;
}

.nh-how-certband .nh-how-certband__sub {
  margin: 56px 0 18px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}

.nh-how-certgain {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .1);
}

.nh-how-certgain li {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 24px 22px;
  background: rgba(8, 20, 36, .72);
  color: #b9c8db;
  font-size: 14.5px;
  line-height: 1.55;
  backdrop-filter: blur(4px);
}

.nh-how-certgain b {
  color: #fff;
  font-size: 16.5px;
}

.nh-how-certgain b::before {
  display: block;
  width: 22px;
  height: 2px;
  margin-bottom: 14px;
  background: var(--cert-gold);
  content: "";
}

.nh-how-certpath {
  margin-top: 28px;
  padding: 30px 30px 26px;
  background: #fff;
  color: var(--nt-text);
}

.nh-how-certpath__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: 20px;
}

.nh-how-certpath__head h3 {
  color: var(--nt-ink);
  font-size: 21px;
  font-weight: 800;
}

.nh-how-certpath__head p {
  color: var(--nt-muted);
  font-size: 14.5px;
}

.nh-how-certpath__head b {
  color: var(--nt-ink);
}

.nh-how-certpath__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 28px;
  counter-reset: certstep;
}

.nh-how-certpath__steps li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  column-gap: 12px;
  color: var(--nt-muted);
  font-size: 13.5px;
  line-height: 1.5;
  counter-increment: certstep;
}

.nh-how-certpath__steps li::before {
  display: grid;
  grid-row: span 2;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--cert-gold);
  color: #9a7432;
  font-size: 15px;
  font-weight: 800;
  content: counter(certstep);
}

.nh-how-certpath__steps b {
  color: var(--nt-ink);
  font-size: 15px;
}

.nh-how-certpath__fair {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--how-line);
  color: var(--nt-muted);
  font-size: 13px;
  line-height: 1.55;
}

.nh-how-certpath__fair b {
  color: var(--nt-text);
}

.nh-how-certband__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 30px;
}

.nh-how-certband__more {
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
}

.nh-how-btn--gold {
  background: var(--cert-gold);
  color: #0b1a2c;
}

.nh-how-btn--gold:hover {
  background: #d4ad63;
  color: #0b1a2c;
}

@media (max-width: 1099px) {
  .nh-how-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .nh-how-stats__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nh-how-stats__row div:nth-child(3) {
    padding-left: var(--nt-gutter);
    border-left: 0;
  }

  .nh-how-stats__row div:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, .12);
  }

  .nh-how-points,
  .nh-how-partner,
  .nh-how-faq-wrap {
    grid-template-columns: minmax(0, 1fr);
  }

  .nh-how-partner {
    gap: 40px;
  }

  .nh-how-device {
    max-width: 300px;
  }

  .nh-how-certgain {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nh-how-certpath__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nh-how-points,
  .nh-how-faq-wrap {
    gap: 16px;
  }

  /* tiers become a swipeable row */
  .nh-how-tiers {
    grid-template-columns: none;
    grid-auto-columns: minmax(280px, 46%);
    grid-auto-flow: column;
    margin-right: calc(-1 * var(--nt-gutter));
    padding-right: var(--nt-gutter);
    padding-bottom: 6px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .nh-how-tier {
    scroll-snap-align: start;
  }

  .nh-how-rail {
    grid-auto-columns: calc((100% - 2 * 12px) / 2.6);
    gap: 12px;
  }
}

/* ---------- phone ---------- */

@media (max-width: 767px) {
  .nh-how-band {
    padding: 36px 0;
  }

  .nh-how-title {
    font-size: 25px;
  }

  .nh-how-title--gap,
  .nh-how-head {
    margin-bottom: 20px;
  }

  .nh-how-hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  /* photo first, then the copy, then the status box */
  .nh-how-hero__media {
    display: contents;
  }

  .nh-how-hero__media img {
    order: -1;
    position: static;
    height: 220px;
  }

  .nh-how-hero__copy {
    padding: 28px var(--nt-gutter) 28px;
  }

  .nh-how-hero h1 {
    font-size: 34px;
  }

  .nh-how-hero__lead {
    font-size: 16px;
  }

  .nh-how-actions .nh-how-btn {
    flex: 1 1 100%;
  }

  .nh-how-status {
    position: relative;
    right: auto;
    bottom: auto;
    width: auto;
    margin: 0 var(--nt-gutter) 28px;
  }

  .nh-how-stats__row div {
    padding: 14px 0 14px 16px;
  }

  .nh-how-stats dt {
    font-size: 24px;
  }

  .nh-how-stats dd {
    font-size: 13px;
  }

  .nh-how-bento {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .nh-how-player {
    aspect-ratio: 16 / 7;
  }

  .nh-how-flow {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .nh-how-tiers {
    grid-auto-columns: 84%;
  }

  .nh-how-rail {
    grid-auto-columns: 44%;
  }

  .nh-how-faq {
    grid-template-columns: minmax(0, 1fr);
  }

  .nh-how-cta__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .nh-how-cta h2 {
    font-size: 25px;
  }

  .nh-how-cta .nh-how-actions {
    grid-row: auto;
    grid-column: auto;
  }
}

/* new sections: tablet and phone */
@media (max-width: 991px) {
  .nh-how-join,
  .nh-how-valid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .nh-how-team {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  /* one level at a time, picked by the tabs */
  .nh-how-compare__tabs {
    position: sticky;
    top: 0;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 4px;
    border: 1px solid var(--how-line);
    background: #fff;
  }

  .nh-how-compare__tabs button {
    min-height: 44px;
    border: 0;
    background: none;
    color: var(--nt-muted);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
  }

  .nh-how-compare__tabs button + button {
    border-left: 1px solid var(--how-line);
  }

  .nh-how-compare__tabs button[aria-selected="true"] {
    background: var(--nt-navy);
    color: #fff;
  }

  .nh-how-compare__table thead {
    display: none;
  }

  .nh-how-compare[data-show="blue"] :is(.c-silver, .c-gold),
  .nh-how-compare[data-show="silver"] :is(.c-blue, .c-gold),
  .nh-how-compare[data-show="gold"] :is(.c-blue, .c-silver) {
    display: none;
  }

  .nh-how-compare__table tbody th[scope="row"] {
    width: 58%;
    padding-left: 0;
    font-size: 14px;
  }

  .nh-how-compare__table tbody td {
    width: auto;
    padding-right: 0;
    font-size: 14px;
    text-align: right;
  }

  .nh-how-compare__table tbody td.c-gold {
    background: none;
  }

  .nh-how-compare__group th {
    padding-left: 0;
  }

  .nh-how-partner-band {
    padding-block: 56px;
  }

  .nh-how-certband {
    padding: 64px 0 56px;
  }

  .nh-how-certgain,
  .nh-how-certpath__steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .nh-how-certpath {
    padding: 22px 18px;
  }

  .nh-how-arrow {
    display: none;
  }

  .nh-how-team__card--tee {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .nh-how-team__card--tee img {
    width: 96px;
    height: 96px;
  }

  .nh-how-valid {
    padding: 18px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nh-how-btn,
  .nh-how-rail a,
  .nh-how-faq summary::after {
    transition: none;
  }
}

/* level cards: the benefit on one line, its value (how much / for whom) under it */
.nh-how-perk {
  display: grid;
  gap: 3px;
}

.nh-how-tier__list .nh-how-perk__value {
  color: #8fc1ff;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .01em;
}

/* the phone mockup shows the real NORTIA Team logo */
.nh-how-device__brand img {
  display: block;
  width: 100px;
  height: auto;
}

/* benefits that aren't running yet: a quiet neutral tag */
.nh-how-soon {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border: 1px solid #d5dce5;
  border-radius: 3px;
  background: #f3f5f8;
  color: #5b6879;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.5;
  text-transform: uppercase;
  vertical-align: 2px;
  white-space: nowrap;
}

/* on the navy level cards and the certification band */
.nh-how-tier .nh-how-soon,
.nh-how-certband .nh-how-soon {
  border-color: rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .08);
  color: #c9d6ea;
}
