/* Public landing before login. Tokens shared with the shell: navy, gold, canvas. */

.np-land {
  overflow-x: hidden;
  --land-navy: var(--np-color-navy, #0B2342);
  --land-navy-soft: #16325c;
  --land-gold: var(--np-color-gold, #F4B400);
  --land-gold-hover: var(--np-color-gold-hover, #b58822);
  --land-ink: #0B2342;
  --land-muted: #5d6b80;
  --land-line: rgba(11, 35, 66, 0.12);
  --land-paper: #ffffff;
  --land-canvas: var(--np-color-canvas, #F7F9FC);
  color: var(--land-ink);
  background: var(--land-canvas);
  min-height: 100vh;
  font-family: var(--np-font-fa);
}

body:has(.np-land),
.shell.login-only:has(.np-land) {
  background: var(--np-color-canvas, #F7F9FC);
}

.np-land a {
  color: inherit;
  text-decoration: none;
}

.np-land :focus-visible {
  outline: 2px solid var(--land-gold);
  outline-offset: 2px;
}

.np-land-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.np-land-skip {
  position: absolute;
  top: -3rem;
  inset-inline-start: 0.75rem;
  background: #fff;
  color: var(--land-navy);
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
  z-index: 80;
}

.np-land-skip:focus {
  top: 0.5rem;
}

.np-land-wrap {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.np-land .np-home-icon {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}

.np-land-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 72px;
  padding: 0.55rem 1.25rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(11, 35, 66, 0.06);
}

.np-land-brand,
.np-land-card-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--land-ink);
  flex: 0 0 auto;
}

.np-land-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(160deg, #e7c56a, var(--land-gold) 55%, #a67c1f);
  box-shadow: 0 6px 14px rgba(201, 154, 46, 0.28);
}

.np-land-mark img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.np-land-word {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.np-land-word strong {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.np-land-word small {
  color: var(--land-muted);
  font-size: 0.72rem;
  margin-top: 0.12rem;
}

.np-land-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  flex: 1 1 auto;
  min-width: 0;
}

.np-land-nav > a,
.np-land-drop > summary {
  color: var(--land-navy-soft);
  font-size: 0.92rem;
  padding: 0.4rem 0.65rem;
  border-radius: 8px;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
}

.np-land-nav > a:hover,
.np-land-drop > summary:hover {
  background: rgba(11, 35, 66, 0.05);
  color: var(--land-navy);
}

.np-land-drop {
  position: relative;
}

.np-land-drop > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.np-land-drop > summary::-webkit-details-marker {
  display: none;
}

.np-land-drop > summary .np-home-icon {
  width: 0.85rem;
  height: 0.85rem;
  opacity: 0.7;
}

.np-land-drop-panel {
  position: absolute;
  inset-inline-start: 0;
  top: calc(100% + 0.35rem);
  min-width: 180px;
  padding: 0.4rem;
  background: #fff;
  border: 1px solid var(--land-line);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(11, 35, 66, 0.12);
  display: none;
  z-index: 5;
}

.np-land-drop[open] > .np-land-drop-panel {
  display: grid;
}

.np-land-drop-panel a {
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  color: var(--land-ink);
  font-size: 0.88rem;
}

.np-land-drop-panel a:hover {
  background: rgba(11, 35, 66, 0.05);
}

.np-land-tools {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-inline-start: auto;
}

.np-land-end {
  display: inline-flex;
  align-items: stretch;
  background: var(--land-navy);
  color: #fff;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(11, 35, 66, 0.18);
}

.np-land-lang,
.np-land-contact,
.np-land-menu,
.np-land-btn,
.np-land-submit,
.np-land-social button,
.np-land-eye {
  font: inherit;
  cursor: pointer;
}

.np-land-lang,
.np-land-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 0;
  background: transparent;
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 0.85rem;
  border-radius: 0;
  box-shadow: none;
}

.np-land-lang:hover,
.np-land-contact:hover {
  background: rgba(255, 255, 255, 0.1);
}

.np-land-contact {
  border-inline-start: 1px solid rgba(255, 255, 255, 0.22);
}

.np-land-menu {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--land-line);
  border-radius: 12px;
  background: #fff;
  color: var(--land-navy);
  place-items: center;
}

.np-land-hero {
  position: relative;
  overflow: hidden;
  padding: 1.6rem 0 2.4rem;
}

.np-land-hero-bg {
  position: absolute;
  inset: 0;
  background:
    url("../brand/np-hero-landscape.png") center 42% / cover no-repeat;
}

.np-land-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to left, rgba(247, 249, 252, 0.94) 0%, rgba(247, 249, 252, 0.82) 38%, rgba(247, 249, 252, 0.45) 68%, rgba(247, 249, 252, 0.28) 100%);
}

.np-land-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 380px);
  gap: 1.6rem;
  align-items: start;
}

.np-land-copy,
.np-land-login,
.np-land-features li,
.np-land-modules li {
  min-width: 0;
}

.np-land-copy h1 {
  margin: 0.2rem 0 0.8rem;
  font-size: clamp(1.85rem, 2.6vw, 2.55rem);
  max-width: 100%;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--land-navy);
}

.np-land-copy h1 span {
  display: block;
}

.np-land-copy h1 em {
  font-style: normal;
  color: var(--land-gold);
}

.np-land-lead {
  margin: 0 0 1.15rem;
  max-width: 38rem;
  color: var(--land-muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.np-land-lead span {
  display: block;
}

.np-land-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
}

.np-land-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0.55rem 1.05rem;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.np-land-btn-gold {
  background: var(--land-gold);
  color: #fff;
  box-shadow: 0 10px 22px rgba(201, 154, 46, 0.28);
}

.np-land-btn-gold:hover {
  background: var(--land-gold-hover);
  transform: translateY(-1px);
}

.np-land-btn-line {
  background: rgba(255, 255, 255, 0.72);
  color: var(--land-navy);
  border-color: rgba(11, 35, 66, 0.28);
}

.np-land-btn-line:hover {
  background: #fff;
}

.np-land-features {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0;
  padding: 0;
}

.np-land-features li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 14px;
  padding: 0.7rem 0.75rem;
  box-shadow: 0 8px 22px rgba(11, 35, 66, 0.06);
}

.np-land-feature-icon,
.np-land-module-icon {
  width: 36px;
  height: 36px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(11, 35, 66, 0.06);
  color: var(--land-navy);
}

.np-land-features strong,
.np-land-modules strong {
  display: block;
  font-size: 0.92rem;
}

.np-land-features small,
.np-land-modules small {
  display: block;
  color: var(--land-muted);
  font-size: 0.78rem;
  margin-top: 0.12rem;
}

.np-land-stage {
  position: relative;
  margin-top: 1.25rem;
  min-height: 250px;
}

.np-land-laptop {
  width: min(100%, 520px);
  margin-inline-end: auto;
  background: #101820;
  border-radius: 16px 16px 12px 12px;
  padding: 10px 10px 14px;
  box-shadow: 0 24px 50px rgba(11, 35, 66, 0.22);
}

.np-land-screen {
  background: #f4f7fb;
  border-radius: 8px;
  overflow: hidden;
  min-height: 210px;
}

.np-land-app {
  display: grid;
  grid-template-columns: 54px 1fr;
  min-height: 210px;
}

.np-land-app aside {
  background: var(--land-navy);
  padding: 12px 8px;
  display: grid;
  align-content: start;
  gap: 8px;
}

.np-land-app aside i {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--land-gold);
  display: block;
  margin-inline: auto;
}

.np-land-app aside b {
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.28);
  display: block;
}

.np-land-app aside b.is-on {
  background: var(--land-gold);
}

.np-land-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px;
}

.np-land-kpis span {
  background: #fff;
  border-radius: 10px;
  padding: 8px;
  box-shadow: 0 4px 12px rgba(11, 35, 66, 0.05);
}

.np-land-kpis small {
  display: block;
  color: var(--land-muted);
  font-size: 0.68rem;
}

.np-land-kpis em {
  display: block;
  margin-top: 8px;
  height: 8px;
  width: 70%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--land-gold), #e7d7a4);
}

.np-land-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 92px;
  margin: 0 12px 12px;
  padding: 10px;
  background: #fff;
  border-radius: 12px;
}

.np-land-bars i {
  flex: 1;
  display: block;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--land-navy-soft), var(--land-navy));
}

.np-land-bars i:nth-child(3),
.np-land-bars i:nth-child(6) {
  background: linear-gradient(180deg, #e3c36a, var(--land-gold));
}

.np-land-phone {
  position: absolute;
  inset-inline-end: 4%;
  bottom: 8px;
  width: 118px;
  background: #0e1726;
  border-radius: 18px;
  padding: 8px;
  box-shadow: 0 18px 36px rgba(11, 35, 66, 0.28);
}

.np-land-phone-screen {
  background: #fff;
  border-radius: 12px;
  min-height: 176px;
  padding: 10px 8px;
}

.np-land-phone-screen strong {
  display: block;
  font-size: 0.72rem;
  margin-bottom: 8px;
}

.np-land-phone-screen span,
.np-land-phone-screen em {
  display: block;
  height: 28px;
  border-radius: 8px;
  background: #f3f6fb;
  margin-bottom: 6px;
}

.np-land-phone-screen em {
  height: 64px;
  background:
    linear-gradient(#f3f6fb, #f3f6fb) 0 36px / 100% 28px no-repeat,
    linear-gradient(var(--land-gold), var(--land-gold)) 8px 8px / 18px 22px no-repeat,
    linear-gradient(var(--land-navy), var(--land-navy)) 32px 16px / 18px 14px no-repeat,
    linear-gradient(var(--land-navy-soft), var(--land-navy-soft)) 56px 4px / 18px 26px no-repeat,
    #f7f9fc;
}

.np-land-login {
  scroll-margin-top: 88px;
}

.np-land-login:focus {
  outline: none;
}

.np-land-card {
  background: var(--land-paper);
  border-radius: 24px;
  padding: 1.45rem 1.35rem 1.15rem;
  box-shadow: 0 22px 50px rgba(11, 35, 66, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.np-land-card-brand {
  margin-bottom: 1rem;
}

.np-land-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem;
  border-bottom: 1px solid var(--land-line);
  margin-bottom: 1rem;
}

.np-land-tabs button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--land-muted);
  font: inherit;
  font-size: 0.86rem;
  padding: 0.55rem 0.2rem 0.7rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.np-land-tabs button.is-on {
  color: var(--land-navy);
  font-weight: 700;
  border-bottom-color: var(--land-navy);
}

.np-land-field {
  position: relative;
  margin-bottom: 0.7rem;
}

.np-land-field-icon {
  position: absolute;
  inset-inline-start: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--land-muted);
  display: grid;
}

.np-land-input {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(11, 35, 66, 0.16);
  background: #fff;
  color: var(--land-ink);
  font: inherit;
  padding-block: 0.55rem;
  padding-inline: 2.4rem 0.85rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.np-land-input-secret {
  padding-inline-end: 2.6rem;
}

.np-land-input:hover {
  border-color: rgba(11, 35, 66, 0.32);
}

.np-land-input:focus {
  outline: none;
  border-color: var(--land-navy);
  box-shadow: 0 0 0 3px rgba(11, 35, 66, 0.12);
}

.np-land-input.is-invalid {
  border-color: #b42318;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12);
}

.np-land-input:disabled {
  background: #f4f6fa;
  color: var(--land-muted);
}

.np-land-eye {
  position: absolute;
  inset-inline-end: 0.35rem;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--land-muted);
  display: grid;
  place-items: center;
}

.np-land-eye:hover {
  background: rgba(11, 35, 66, 0.05);
  color: var(--land-navy);
}

.np-land-format {
  margin: -0.25rem 0 0.7rem;
  color: var(--land-muted);
  font-size: 0.75rem;
  line-height: 1.55;
}

.np-land-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin: 0.15rem 0 0.85rem;
  font-size: 0.82rem;
}

.np-land-check {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--land-navy);
}

.np-land-row a {
  color: var(--land-navy-soft);
}

.np-land-row a:hover {
  text-decoration: underline;
}

.np-land-error {
  color: #912018;
  background: #fef3f2;
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  margin-bottom: 0.7rem;
  font-size: 0.86rem;
  white-space: pre-line;
}

.np-land-submit {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  background: var(--land-gold);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(201, 154, 46, 0.25);
  transition: background 160ms ease, transform 160ms ease;
}

.np-land-submit:hover:not(:disabled) {
  background: var(--land-gold-hover);
  transform: translateY(-1px);
}

.np-land-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.np-land-otp-note {
  margin: 0 0 0.75rem;
  color: var(--land-muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.np-land-or {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.7rem;
  margin: 1rem 0 0.75rem;
  color: var(--land-muted);
  font-size: 0.8rem;
}

.np-land-or::before,
.np-land-or::after {
  content: "";
  height: 1px;
  background: var(--land-line);
}

.np-land-social {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.np-land-social button {
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid var(--land-line);
  background: #fff;
  color: var(--land-navy);
}

.np-land-social button:hover {
  border-color: rgba(11, 35, 66, 0.28);
  background: #f8fafc;
}

.np-land-access {
  margin: 0.85rem 0 0;
  text-align: center;
  color: var(--land-muted);
  font-size: 0.8rem;
}

.np-land-access a {
  color: var(--land-navy);
  font-weight: 600;
}

.np-land-access a:hover {
  text-decoration: underline;
}

.np-land-band {
  background: #fff;
  border-block: 1px solid rgba(11, 35, 66, 0.05);
  padding: 1.15rem 0 1.25rem;
}

.np-land-modules {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(108px, 1fr));
  gap: 0.45rem;
  margin: 0;
  padding: 0;
}

.np-land-modules li {
  min-width: 0;
  padding: 0.35rem 0.25rem;
}

.np-land-module-link {
  display: block;
  color: inherit;
  text-decoration: none;
  border-radius: 12px;
}

.np-land-module-link:hover {
  background: rgba(201, 154, 46, 0.16);
}

.np-land-trust {
  background: var(--land-navy);
  color: #f4f7fb;
  padding: 1.35rem 0 1.5rem;
}

.np-land-trust-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
  align-items: center;
}

.np-land-trust-grid > p {
  min-width: 0;
}

.np-land-trust p {
  margin: 0;
}

.np-land-trust strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.np-land-trust span {
  display: block;
  margin-top: 0.2rem;
  color: rgba(244, 247, 251, 0.72);
  font-size: 0.86rem;
}

.np-land-trust-note strong {
  font-size: 1.05rem;
  color: #f3d48a;
}

@media (max-width: 1100px) {
  .np-land-hero-grid {
    grid-template-columns: 1fr;
  }

  .np-land-login {
    max-width: 460px;
    width: 100%;
  }

  .np-land-modules {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: inline mandatory;
    padding-bottom: 0.4rem;
  }

  .np-land-modules li {
    flex: 0 0 148px;
    scroll-snap-align: start;
  }

  .np-land-trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .np-land-menu {
    display: grid;
  }

  .np-land-nav {
    display: none;
    position: absolute;
    inset-inline: 0.75rem;
    top: calc(100% + 0.35rem);
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--land-line);
    border-radius: 16px;
    padding: 0.45rem;
    box-shadow: 0 16px 40px rgba(11, 35, 66, 0.12);
  }

  .np-land-nav.is-open {
    display: flex;
  }

  .np-land-drop-panel {
    position: static;
    box-shadow: none;
    border: 0;
    padding-inline-start: 0.6rem;
  }

  .np-land-header {
    flex-wrap: wrap;
  }

  .np-land-contact span {
    display: none;
  }

  .np-land-hero-shade {
    background: rgba(247, 249, 252, 0.78);
  }

  .np-land-features {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .np-land-wrap {
    width: min(1180px, calc(100% - 1.25rem));
  }

  .np-land-features,
  .np-land-cta,
  .np-land-social,
  .np-land-trust-grid {
    grid-template-columns: 1fr;
  }

  .np-land-cta {
    display: grid;
  }

  .np-land-stage {
    min-height: 0;
  }

  .np-land-phone {
    position: relative;
    inset: auto;
    margin-top: -36px;
    margin-inline-start: auto;
  }

  .np-land-copy h1 {
    font-size: 1.85rem;
  }
}
